Fix Synapse sub-component (worker, S3, ..) uninstallation
matrix-synapse/tasks/setup_uninstall.yml would previously not run unless Synapse was completely disabled.
This commit is contained in:
@ -4,7 +4,8 @@
|
||||
- setup-all
|
||||
- setup-synapse
|
||||
block:
|
||||
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/setup_uninstall.yml"
|
||||
- when: not matrix_synapse_enabled | bool
|
||||
ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/setup_uninstall.yml"
|
||||
|
||||
- tags:
|
||||
- setup-all
|
||||
@ -17,7 +18,8 @@
|
||||
- setup-all
|
||||
- setup-synapse
|
||||
block:
|
||||
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/synapse/setup_uninstall.yml"
|
||||
- when: not matrix_synapse_enabled | bool
|
||||
ansible.builtin.include_tasks: "{{ role_path }}/tasks/synapse/setup_uninstall.yml"
|
||||
|
||||
- tags:
|
||||
- setup-all
|
||||
|
Reference in New Issue
Block a user