diff options
Diffstat (limited to 'playbook.yaml')
-rw-r--r-- | playbook.yaml | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/playbook.yaml b/playbook.yaml index b52c9ce..ac4b2c1 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -405,30 +405,6 @@ notify: Restart prosody when: roster_groups is defined - - name: Ensure prosody users are registered - ansible.builtin.expect: - command: "prosodyctl adduser {{ item.name }}@{{ virtual_host }}" - responses: - (?i)password: "{{ item.password }}" - become: true - register: adduser_result - changed_when: - "'That user already exists' not in adduser_result.stdout_lines" - failed_when: false - no_log: true - with_items: "{{ users }}" - - - name: Ensure prosody users have the given password - ansible.builtin.expect: - command: "prosodyctl passwd {{ item.name }}@{{ virtual_host }}" - responses: - (?i)password: "{{ item.password }}" - become: true - register: passwd_result - changed_when: true - no_log: true - with_items: "{{ users }}" - - name: Ensure prosody is enabled ansible.builtin.service: name: prosody |