mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-06 02:37:31 +01:00
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:
parent
ba1cce1316
commit
cc7244c14d
@ -36,8 +36,8 @@
|
||||
- setup-all
|
||||
- setup-synapse
|
||||
block:
|
||||
- when: not matrix_synapse_enabled | bool
|
||||
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
|
||||
# This always runs because it handles uninstallation for sub-components too.
|
||||
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
|
||||
|
||||
- tags:
|
||||
- import-synapse-media-store
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user