Hi,
I fixed this by using:
hostvars[inventory_hostname][‘ansible_bond1:0’][‘ipv4’][‘address’]
Cheers
Tom
Hi,
I fixed this by using:
hostvars[inventory_hostname][‘ansible_bond1:0’][‘ipv4’][‘address’]
Cheers
Tom
Things inside {{ }} are more or less Python syntax.
Note that I am going to rectify the split by allowing {{ }} in some
form in 1.2 main playbooks.
anyway, do not expect dot notation to work like that in Jinja2 templates.