1
0
Fork 0
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:
Michael DeHaan 2013-06-01 10:40:39 -04:00
parent 6cd3ba5b06
commit 9f567f05d6

View file

@ -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.