# Inventory Configuration

**URL:** <https://forum.ansible.com/t/inventory-configuration/23639>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [February 4, 2017, 4:03pm UTC](https://forum.ansible.com/t/inventory-configuration/23639 "2017-02-04T16:03:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dick\_Davies](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Dick\_Davies](https://forum.ansible.com/u/Dick_Davies)\
**Post date:** [February 4, 2017, 4:03pm UTC](https://forum.ansible.com/t/inventory-configuration/23639/1 "2017-02-04T16:03:02Z")

</div>

The second command is what i'd expect to work. group\_vars/ , host\_vars/ etc  
are relative to the directory holding the 'hosts' static list.

General rule: if you're going to target plays against different groups  
of servers,  
put them as groups in a single inventory.

There'd be nothing wrong with a single inventory with groups like  
'dev3' , 'dev5', etc.
