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
1 changed files with 1 additions and 1 deletions

View File

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