Make --tags=register-user work for both Dendrite/Synapse

Also get rid of `--tags=update-user-password` in the
`matrix-dendrite` role, as what we had doesn't work.

We may be able to do it with some Ansible helper or something else.
For now, we'll omit this feature.
This commit is contained in:
Slavi Pantaleev
2021-12-18 14:40:34 +02:00
parent f8a8d7d310
commit 2bd33e5cf2
4 changed files with 4 additions and 49 deletions

View File

@ -15,7 +15,7 @@
- setup-dendrite
- import_tasks: "{{ role_path }}/tasks/register_user.yml"
when: run_dendrite_register_user|bool
when: run_dendrite_register_user|bool and matrix_dendrite_enabled|bool
tags:
- register-user
@ -33,11 +33,6 @@
tags:
- self-check
- import_tasks: "{{ role_path }}/tasks/update_user_password.yml"
when: run_dendrite_update_user_password|bool
tags:
- update-user-password
- name: Mark matrix-dendrite role as executed
set_fact:
matrix_dendrite_role_executed: true