diff options
| -rw-r--r-- | roles/common/templates/etc-hosts.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/common/templates/etc-hosts.j2 b/roles/common/templates/etc-hosts.j2 index 141f3d1..6fdbdaa 100644 --- a/roles/common/templates/etc-hosts.j2 +++ b/roles/common/templates/etc-hosts.j2 @@ -4,4 +4,4 @@ ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters -{{ ansible_host }} {{ inventory_hostname }}.box.pydis.wtf {{ inventory_hostname }} +{{ lookup('dig', ansible_host) }} {{ inventory_hostname }}.box.pydis.wtf {{ inventory_hostname }} |