summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMatthew Fennell <matthew@fennell.dev>2026-09-09 21:43:36 +0100
committerMatthew Fennell <matthew@fennell.dev>2026-09-09 21:43:36 +0100
commit258012f00782d10d44d5bb284dfa00059b3af719 (patch)
tree1eff0d484702cb45df4dd3b179df5343b6ef9bd1 /templates
parent03e6483ad6889ca05e678ff1d11f69aace7ce614 (diff)
Move files and templates from xmpp-server
As I just performed a naive copy before, files and templates used by the bootstrap role were still resolving via playbook_dir. This still worked, but I want these bootstrap-specific files to remain self-contained within the role.
Diffstat (limited to 'templates')
-rw-r--r--templates/hosts.j211
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/hosts.j2 b/templates/hosts.j2
new file mode 100644
index 0000000..9ef5300
--- /dev/null
+++ b/templates/hosts.j2
@@ -0,0 +1,11 @@
+# SPDX-FileCopyrightText: 2025 Matthew Fennell <matthew@fennell.dev>
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
+127.0.1.1 {{ hostname }}
+127.0.0.1 localhost
+
+# The following lines are desirable for IPv6 capable hosts
+::1 localhost ip6-localhost ip6-loopback
+ff02::1 ip6-allnodes
+ff02::2 ip6-allrouters