# Is a file level group possible for multiple inventory files in directory?

**URL:** <https://forum.ansible.com/t/is-a-file-level-group-possible-for-multiple-inventory-files-in-directory/32426>\
**Category:** Ansible Project\
**Created:** [March 9, 2020, 8:48pm UTC](https://forum.ansible.com/t/is-a-file-level-group-possible-for-multiple-inventory-files-in-directory/32426 "2020-03-09T20:48:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josef\_Fortier](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@Josef\_Fortier](https://forum.ansible.com/u/Josef_Fortier)\
**Post date:** [March 9, 2020, 8:48pm UTC](https://forum.ansible.com/t/is-a-file-level-group-possible-for-multiple-inventory-files-in-directory/32426/1 "2020-03-09T20:48:53Z")

</div>

I have two different organizations managed in two separate files, with some overlap in roles.  
I’m currently manually creating groups within each file target hosts in that file (conceptually “organization”).  
I’d like to have an automatic variable that is constructed by file scope.  
Is this possible?  
Is it already provided (and I’ve missed it in the docs)?

Thanks
