The 'hostList1' inventory variable is not available until AFTER the
hosts: is processed, this is a chicken/egg issue.

Inventory variables are flattened per host, so only once you have a
host can you query the value of the variable.

`hosts:` defines which hosts are available, as such it cannot depend
on a host nor a variable associated to a host.


----------
Brian Coca

-- 
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/CACVha7cj3Bej_wrOH4m-5A_-S1v3EXFqUEuSQxVF2J8sttBdcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to