127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters {% for node in nodes %} {% for address in node|device_address %} {{ address.address | ipaddr('address') }} {{ node.inventory_hostname }} {% endfor %} {% endfor %}