aboutsummaryrefslogtreecommitdiff
path: root/templates/hosts.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/hosts.j2')
-rw-r--r--templates/hosts.j27
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/hosts.j2 b/templates/hosts.j2
new file mode 100644
index 0000000..3d811dc
--- /dev/null
+++ b/templates/hosts.j2
@@ -0,0 +1,7 @@
+127.0.0.1 localhost
+{{ ansible_host }} {{ hostname }} {{ hostname }}
+
+# The following lines are desirable for IPv6 capable hosts
+::1 localhost ip6-localhost ip6-loopback
+ff02::1 ip6-allnodes
+ff02::2 ip6-allrouters