Add hosts configuration

This commit is contained in:
sonny 2024-01-22 21:36:38 +01:00
parent 9566a10281
commit 57ac0971d7
2 changed files with 18 additions and 0 deletions

10
templates/hosts.j2 Normal file
View file

@ -0,0 +1,10 @@
# {{ ansible_managed }} {{ ansible_date_time.time }} {{ ansible_date_time.date }}
127.0.0.1 localhost
127.0.1.1 zeus
{{ lan_ip_address }} {{ domain_name }}
# The following lines are desirable for IPv6 capable hosts
#::1 localhost ip6-localhost ip6-loopback
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters