summaryrefslogtreecommitdiff
path: root/tasks
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 /tasks
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 'tasks')
-rw-r--r--tasks/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/tasks/main.yml b/tasks/main.yml
index 29e003c..4512804 100644
--- a/tasks/main.yml
+++ b/tasks/main.yml
@@ -73,7 +73,7 @@
- name: Ensure hostname is configured in /etc/hosts
ansible.builtin.template:
- src: "{{ playbook_dir }}/files/hosts.j2"
+ src: hosts.j2
dest: /etc/hosts
owner: root
group: root
@@ -135,7 +135,7 @@
- name: Ensure password based authentication is disabled
ansible.builtin.copy:
- src: "{{ playbook_dir }}/files/50-disable-password-auth.conf"
+ src: 50-disable-password-auth.conf
dest: "/etc/ssh/sshd_config.d/50-disable-password-auth.conf"
owner: root
group: root
@@ -145,7 +145,7 @@
- name: Ensure unattended upgrades config is installed
ansible.builtin.copy:
- src: "{{ playbook_dir }}/files/50unattended-upgrades"
+ src: 50unattended-upgrades
dest: "/etc/apt/apt.conf.d/50unattended-upgrades"
owner: root
group: root