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

@ -20,7 +20,7 @@
- import-synapse-media-store
- import_tasks: "{{ role_path }}/tasks/register_user.yml"
when: run_synapse_register_user|bool
when: run_synapse_register_user|bool and matrix_synapse_enabled|bool
tags:
- register-user
@ -39,7 +39,7 @@
- self-check
- import_tasks: "{{ role_path }}/tasks/update_user_password.yml"
when: run_synapse_update_user_password|bool
when: run_synapse_update_user_password|bool and matrix_synapse_enabled|bool
tags:
- update-user-password