On 07.12.2017 19:15, TibZ wrote:
As far I understand variable precedence ,  role variable should be
overriden by inventory . But in my case , it stay with role variable.

Not if it's the variables is in vars directory, they have very high priority[1].

If you have them in default is it will have the lowest priority and you can overwrite them everywhere.


[1] http://docs.ansible.com/ansible/latest/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable


--
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/e294d5c68a9fe24ebc4b5cc02e996e63%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to