I would like to reuse some variables defined under a role in an inventory 
file. For example,

a file inventory/myhost, it contains following line

myhost ansible_ssh_host={{ myhost_ip_address }}

By reading Ansible documentation and searching possible solutions, I did 
not get a solution so far. I'm wondering if it's possible to use variable 
in inventory. Your help will be much appreciated. Thanks!

Regards,
Chenxiong Qi

-- 
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/a279e98a-7509-40e9-8203-edd97869c761%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to