mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Document group_vars and host_vars additional paths.
This commit is contained in:
parent
6cd3ba5b06
commit
9f567f05d6
1 changed files with 4 additions and 0 deletions
|
@ -226,6 +226,10 @@ the 'raleigh' group might look like::
|
|||
|
||||
It is ok if these files do not exist, this is an optional feature.
|
||||
|
||||
Tip: In Ansible 1.2 or later the group_vars/ and host_vars/ directories can exist in either
|
||||
the playbook directory OR the inventory directory. If both paths exist, variables in the playbook
|
||||
directory will be loaded second.
|
||||
|
||||
Tip: Keeping your inventory file and variables in a git repo (or other version control)
|
||||
is an excellent way to track changes to your inventory and host variables.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue