diff options
author | Matthew Fennell <matthew@fennell.dev> | 2025-07-06 20:04:53 +0100 |
---|---|---|
committer | Matthew Fennell <matthew@fennell.dev> | 2025-07-06 20:04:53 +0100 |
commit | 23b38d36fcf0145880af7f5a0240d2af30b2a88e (patch) | |
tree | 00dcaa64cc5bb61ea0886e00fd3f896a2e27fcfd | |
parent | 9ad2f38d254b01611e874ac5aa8cddaf5aa28732 (diff) |
Remove roster group support
This was only ever enabled for testing purposes, and is no longer
needed.
-rw-r--r-- | files/virtual_host.cfg.lua.j2 | 4 | ||||
-rw-r--r-- | playbook.yaml | 21 |
2 files changed, 0 insertions, 25 deletions
diff --git a/files/virtual_host.cfg.lua.j2 b/files/virtual_host.cfg.lua.j2 index 4182a60..eb3a52e 100644 --- a/files/virtual_host.cfg.lua.j2 +++ b/files/virtual_host.cfg.lua.j2 @@ -24,10 +24,6 @@ site_apps_show = { "monal"; } -{%- if roster_groups is defined %} -groups_file = "/etc/prosody/groups/{{ virtual_host }}.toml" -{% endif %} - contact_info = { abuse = { "xmpp:abuse@{{ virtual_host }}" }; admin = { "xmpp:admin@{{ virtual_host }}" }; diff --git a/playbook.yaml b/playbook.yaml index 3a3d0cd..802ba2a 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -380,27 +380,6 @@ state: absent become: true - - name: Ensure prosody groups directory is created - ansible.builtin.file: - path: /etc/prosody/groups - state: directory - owner: root - mode: '0754' - group: prosody - become: true - when: roster_groups is defined - - - name: Ensure prosody groups are defined - ansible.builtin.copy: - content: "{{ roster_groups }}" - dest: "/etc/prosody/groups/{{ virtual_host }}.toml" - owner: root - group: prosody - mode: '0640' - become: true - notify: Restart prosody - when: roster_groups is defined - - name: Ensure prosody is enabled ansible.builtin.service: name: prosody |