matrix-docker-ansible-deploy/roles/custom/matrix-synapse-auto-compressor/tasks/main.yml
2023-04-08 08:10:22 +03:00

21 lines
608 B
YAML

---
- tags:
- setup-all
- setup-synapse-auto-compressor
- install-all
- install-synapse-auto-compressor
block:
- when: matrix_synapse_auto_compressor_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
- when: matrix_synapse_auto_compressor_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
- tags:
- setup-all
- setup-synapse-auto-compressor
block:
- when: not matrix_synapse_auto_compressor_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"