summaryrefslogtreecommitdiffstats
path: root/roles/pve/templates/hosts.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/pve/templates/hosts.j2')
-rw-r--r--roles/pve/templates/hosts.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/pve/templates/hosts.j2 b/roles/pve/templates/hosts.j2
new file mode 100644
index 00000000..5cebad3c
--- /dev/null
+++ b/roles/pve/templates/hosts.j2
@@ -0,0 +1,5 @@
+127.0.0.1 localhost
+{{ network_ipv4_address }} {{ ansible_facts['hostname'] }}
+::1 localhost ip6-localhost ip6-loopback
+ff02::1 ip6-allnodes
+ff02::2 ip6-allrouters