summaryrefslogtreecommitdiff
path: root/playbook.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'playbook.yaml')
-rw-r--r--playbook.yaml21
1 files changed, 0 insertions, 21 deletions
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