Hi all, I have read the http://docs.ansible.com/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable it does nto answer my question.
Basically I saw two unexpected (at least common sense speaking) behaviour. example in my inventory hosts file [base] jibs [base:vars] DNS_SERVER=172.17.42.1 [jibs] test-jibs ansible_ssh_host=192.168.0.100 ansible_ssh_user=root [jibs:vars] XX=VALUE 1. The host test-jibs in jibs groups does not inherit the base:vars 2. If I have a file named test-jibs in the directory host_vars these variable is not used when the section [jibs:vars] has the same variable name - which is group_vars has more priority than host_vars. Is it correct behaviour or am I wrong somewhere in my setup. Kind regards -- 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/6388cbd4-bfcc-4500-9a40-af428df3b718%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
