diff options
author | Matthew Fennell <matthew@fennell.dev> | 2024-01-07 14:16:46 +0000 |
---|---|---|
committer | Matthew Fennell <matthew@fennell.dev> | 2024-01-07 14:16:46 +0000 |
commit | 3b4bc1fa0578e62bdd3b2cca04bfb5e1c3a5e292 (patch) | |
tree | 6c9c137a92ebca7ca11e02ccf39000436d1a38d4 /playbook.yaml | |
parent | 4a68510bac93a8d824e8634dc01ef25d21faddce (diff) |
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.
Diffstat (limited to 'playbook.yaml')
-rw-r--r-- | playbook.yaml | 6 |
1 files 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 |