On 21. juli 2016 18:40, Do Hoang Khiem wrote:
So from what I see, host_vars/all does not work even if it's located at
same directory as playbook or same directory as inventory.


 From Ansible: http://docs.ansible.com/ansible/intro_inventory.html


*Tip: In Ansible 1.2 or later the group_vars/ and host_vars/ directories
can exist in the playbook directory OR the inventory directory. If both
paths exist, variables in the playbook directory will override variables
set in the inventory directory.*


Is it correct anymore or am I wrong somewhere?

all is only supported in group_vars.


--
Kai Stian Olstad

--
You received this message because you are subscribed to the Google Groups "Ansible 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5790FF3C.9000705%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to