Hi Yassen,
You have to use the hostvars dictionary, like this:
{{ hostvars[inventory_hostname]['ansible_'+ext_if].ipv4.address }}
--
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
On Thursday, June 18, 2015 at 8:02:20 PM UTC+3, Anand Buddhdev wrote:
Hi Yassen,
You have to use the hostvars dictionary, like this:
{{ hostvars[inventory_hostname]['ansible_'+ext_if].ipv4.address }}
*Anand*: you nailed it, works great! Thank you!
-Y.
--
You received this message