Set <IP> <FQDN> in hosts

This commit is contained in:
Sam A. 2023-11-07 21:32:11 +01:00
parent a15eb67a0f
commit bb71e83d23
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -1,6 +1,6 @@
# code: language=ansible-jinja # code: language=ansible-jinja
127.0.0.1 localhost 127.0.0.1 localhost
127.0.1.1 {{ hostname }} {{ ansible_host }} {{ fqdn }}
# The following lines are desirable for IPv6 capable hosts # The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback ::1 ip6-localhost ip6-loopback