Added note on which version did dirs in group_vars start working

This commit is contained in:
Hagai 2014-05-22 17:54:21 +03:00
parent e2cc510e37
commit a552c07230

View file

@ -180,7 +180,7 @@ Ansible will read all the files in these directories. An example with the 'ralei
All hosts that are in the 'raleigh' group will have the variables defined in these files All hosts that are in the 'raleigh' group will have the variables defined in these files
available to them. This can be very useful to keep your variables organized when a single available to them. This can be very useful to keep your variables organized when a single
file starts to be too big, or when you want to use :doc:`Ansible Vault<playbooks_vault>` on a part of a group's file starts to be too big, or when you want to use :doc:`Ansible Vault<playbooks_vault>` on a part of a group's
variables. variables. Note that this only works on Ansible 1.4 or later.
Tip: In Ansible 1.2 or later the group_vars/ and host_vars/ directories can exist in either 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 the playbook directory OR the inventory directory. If both paths exist, variables in the playbook