Make it possible to use facts from hosts in templates for other hosts.
It works like this: {{ hostvars['127.0.0.1']['ansible_eth0']['ipv4']['address'] }}
Showing
Please
register
or
sign in
to comment
It works like this: {{ hostvars['127.0.0.1']['ansible_eth0']['ipv4']['address'] }}