# AzureRM / azcollection ARM Zip file

**URL:** <https://forum.ansible.com/t/azurerm-azcollection-arm-zip-file/34860>\
**Category:** Ansible Project\
**Tags:** azure\
**Created:** [March 26, 2021, 4:16am UTC](https://forum.ansible.com/t/azurerm-azcollection-arm-zip-file/34860 "2021-03-26T04:16:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tlourey](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/tlourey/32/4835_2.png) [@tlourey](https://forum.ansible.com/u/tlourey)\
**Post date:** [March 26, 2021, 4:16am UTC](https://forum.ansible.com/t/azurerm-azcollection-arm-zip-file/34860/1 "2021-03-26T04:16:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tlourey](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/tlourey/32/4835_2.png) [@tlourey](https://forum.ansible.com/u/tlourey)\
**Post date:** [March 26, 2021, 9:05am UTC](https://forum.ansible.com/t/azurerm-azcollection-arm-zip-file/34860/2 "2021-03-26T09:05:57Z")

</div>

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/](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._

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [March 26, 2021, 9:46am UTC](https://forum.ansible.com/t/azurerm-azcollection-arm-zip-file/34860/3 "2021-03-26T09:46:45Z")

</div>

You didn't say what you're actually trying to achieve (and that  
doesn't work, I assume, as you're posting to a support mailing list).  
I mean the problem why you need to 'inspect' things (again, assuming  
something is wrong).  
Now we also know that you posted the same text to Reddit, and you're  
copying the answer back to this mailing list (aka "cross posting").

Perhaps you could start by telling what you are trying to achieve?
