Someone on reddit gave the answer and advised that it does not generate ARM Templates
https://www.reddit.com/r/ansible/comments/mdg9tf/azurerm_azcollection_arm_zip_file/gs9fgvn/ *It does not. Under the covers azcollection is just a fancy way of invoking the Azure python SDK with an Ansible front end.* *The only archive files that are moved around are if you're using a remote host to execute the modules, then the playbooks and some supporting stuff will be tarballed up and copied to the remote host over ssh .... where it will call the Azure python SDK.* *EDIT: Note that I'm not talking about the 1 specific module that actually does ARM template deployments, that one actually is using ARM templates, but they're not spontaneously generated, they're an input parameter.* On Friday, 26 March 2021 at 3:16:14 pm UTC+11 LT21 wrote: > Hi, > > From various playing around and troubleshooting over the last year or two > I think Ansible takes a playbook with plays using azure_rm modules from > azcollection then, creates an Azure ARM Template (and maybe parameter > file), puts it into a zip file and then uses the Azure REST API to deploy > it. > > I'm wondering if there is a way I can tell Ansible not to delete that zip > file so that I can inspect it. > > Thanks. > > LT > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e1e123a9-16de-40d4-ad3f-abd00765e267n%40googlegroups.com.
