This is documented here: http://docs.ansible.com/playbooks_variables.html#variable-precedence-where-should-i-put-a-variable
On Sun, Feb 23, 2014 at 1:08 AM, anatoly techtonik <[email protected]>wrote: > On Friday, February 21, 2014 11:59:28 PM UTC+3, Michael DeHaan wrote: >> >> If you are attempting to drive the host spec based on inventory >> variables, this won't work. >> >> If you drive it with input from -e, it will. >> >> You can't use inventory variables to drive the host spec. >> > > Why? Isn't the initialization order sets inventory variables first? > > -- > 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/a62bd7de-c95b-42e0-829e-4cbb615cd906%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- 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/CAEVJ8QNjoVCC1w3Uk60ff22zCkkagpHhg0tYQZcETiAYHB_U5A%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
