# Question about azure\_rm inventories

**URL:** <https://forum.ansible.com/t/question-about-azure-rm-inventories/32903>\
**Category:** Ansible Developer\
**Tags:** azure\
**Created:** [May 11, 2020, 8:14am UTC](https://forum.ansible.com/t/question-about-azure-rm-inventories/32903 "2020-05-11T08:14:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tony\_Hogsten](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@Tony\_Hogsten](https://forum.ansible.com/u/Tony_Hogsten)\
**Post date:** [May 11, 2020, 8:14am UTC](https://forum.ansible.com/t/question-about-azure-rm-inventories/32903/1 "2020-05-11T08:14:06Z")

</div>

Hey!

In Ansible there is a Azure Resource manager inventory plugin that allows you to retrieve data from Azure to build an inventory. However the plugin only retrieves resource groups that contains virtual machines. Almost every module that is to be executed towards Azure needs the Resource Group parameter, so let’s say I want a ‘Automatic’ updating inventory containing all resource groups, to for instance tag each resource in it, or do a deployment towards something else, I could only do it towards RGs containing Virtual Machines. Is there any plugin available that inventories all resource groups in Azure, not just machines?

Best regards  
Tony

---

<div class="post-metadata">

**Author:** ![Tony\_Hogsten](https://avatars.discourse-cdn.com/v4/letter/t/e5b9ba/32.png) [@Tony\_Hogsten](https://forum.ansible.com/u/Tony_Hogsten)\
**Post date:** [June 8, 2020, 5:46pm UTC](https://forum.ansible.com/t/question-about-azure-rm-inventories/32903/2 "2020-06-08T17:46:48Z")

</div>

Ping
