# azure dynamic inventory - store static file

**URL:** <https://forum.ansible.com/t/azure-dynamic-inventory-store-static-file/33849>\
**Category:** Ansible Project\
**Tags:** azure\
**Created:** [September 19, 2020, 10:37am UTC](https://forum.ansible.com/t/azure-dynamic-inventory-store-static-file/33849 "2020-09-19T10:37:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kumaresan\_M](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Post date:** [September 19, 2020, 10:37am UTC](https://forum.ansible.com/t/azure-dynamic-inventory-store-static-file/33849/1 "2020-09-19T10:37:25Z")

</div>

Hi Experts,

I have ansible setup that pulls inventory dynamically using below playbook from azure.We have an requirement to store these hosts in static file for other requirement.Could you someone help here?

ansible all -m ping -i myazure\_rm.yml --list

bash-4.4# cat myazure\_rm.yml

plugin: azure\_rm

auth\_source: auto

plain\_host\_names: yes

Regards

Kumar
