From 3b4bc1fa0578e62bdd3b2cca04bfb5e1c3a5e292 Mon Sep 17 00:00:00 2001 From: Matthew Fennell Date: Sun, 7 Jan 2024 14:16:46 +0000 Subject: Assign prosody config files to prosody group The playbook previosuly assigned the prosody config files to the root group. With root as the owner, and permissions as 0640, this meant that prosody was not able to read the files. This commit fixes this. --- playbook.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/playbook.yaml b/playbook.yaml index 3a151f7..1a2a1e9 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -47,7 +47,7 @@ src: "{{ playbook_dir }}/files/prosody.cfg.lua" dest: /etc/prosody/prosody.cfg.lua owner: root - group: root + group: prosody mode: "0640" become: true notify: Reload prosody @@ -56,7 +56,7 @@ src: "{{ playbook_dir }}/files/virtual_host.cfg.lua.j2" dest: "/etc/prosody/conf.avail/{{ virtual_host }}.cfg.lua" owner: root - group: root + group: prosody mode: "0644" become: true notify: Reload prosody @@ -65,7 +65,7 @@ src: "/etc/prosody/conf.avail/{{ virtual_host }}.cfg.lua" dest: "/etc/prosody/conf.d/{{ virtual_host }}.cfg.lua" owner: root - group: root + group: prosody state: link become: true notify: Reload prosody -- cgit v1.2.3