Commit 9f567f05 by Michael DeHaan

Document group_vars and host_vars additional paths.

parent 6cd3ba5b
...@@ -226,6 +226,10 @@ the 'raleigh' group might look like:: ...@@ -226,6 +226,10 @@ the 'raleigh' group might look like::
It is ok if these files do not exist, this is an optional feature. 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) 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. is an excellent way to track changes to your inventory and host variables.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment