just do  {{ city }}​, if it is the 'current host', to access vars of other
hosts {{ hostvars['server3'].city }}

-- 
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/CADn%2BHsyv_KsPzDCUGVX7%3DbnFzs7zE7bc8JVAqOL%3Dcj126zBtOA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to