# Using inventory folders in combination with dynamic inventories

**URL:** <https://forum.ansible.com/t/using-inventory-folders-in-combination-with-dynamic-inventories/34923>\
**Category:** AWX Project\
**Tags:** azure, awx\
**Created:** [April 6, 2021, 4:30pm UTC](https://forum.ansible.com/t/using-inventory-folders-in-combination-with-dynamic-inventories/34923 "2021-04-06T16:30:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yohan\_Belval](https://avatars.discourse-cdn.com/v4/letter/y/db5fbb/32.png) [@Yohan\_Belval](https://forum.ansible.com/u/Yohan_Belval)\
**Post date:** [April 6, 2021, 4:30pm UTC](https://forum.ansible.com/t/using-inventory-folders-in-combination-with-dynamic-inventories/34923/1 "2021-04-06T16:30:11Z")

</div>

Hey!  
I’m trying to use inventory folders with imbedded group\_vars to target specific staging and production hosts, more specifically the one recommended by Ansible [here](https://docs.ansible.com/ansible/2.8/user_guide/playbooks_best_practices.html#alternative-directory-layout).  
It seems that when using a dynamic inventory (sourced from Microsoft Azure Resource Manager) it doesn’t load the inventory folder with the same name. AWX seems to load a tmp folder that was generated dynamically (i.e. _Parsed /tmp/bwrap\_479\_raoyvd7d/awx\_479\_8gb1ngkc/tmp517iwm5q inventory source with script plugin)_.  
How can I accomplish this with AWX? I don’t really want to have to manage a static inventory to have to set this up.  
Thanks,

Yohan
