matrix-docker-ansible-deploy/roles/custom/matrix-synapse/tasks/setup_uninstall.yml
Slavi Pantaleev cc7244c14d Fix Synapse sub-component (worker, S3, ..) uninstallation
matrix-synapse/tasks/setup_uninstall.yml would previously not run unless
Synapse was completely disabled.
2023-08-29 14:53:28 +03:00

30 lines
778 B
YAML

---
- tags:
- setup-all
- setup-synapse
block:
- when: not matrix_synapse_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/setup_uninstall.yml"
- tags:
- setup-all
- setup-synapse
block:
- when: not matrix_synapse_workers_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/synapse/workers/setup_uninstall.yml"
- tags:
- setup-all
- setup-synapse
block:
- when: not matrix_synapse_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/synapse/setup_uninstall.yml"
- tags:
- setup-all
- setup-synapse
block:
- when: not matrix_s3_media_store_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/goofys/setup_uninstall.yml"