From 258012f00782d10d44d5bb284dfa00059b3af719 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Wed, 9 Sep 2026 21:43:36 +0100 Subject: 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. --- templates/hosts.j2 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 templates/hosts.j2 (limited to 'templates/hosts.j2') 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 +# +# 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 -- cgit v1.2.3