2024-12-08 02:41:38 +09:00
|
|
|
# SPDX-FileCopyrightText: 2023 MDAD Team and contributors
|
2024-12-08 01:34:44 +09:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
2023-03-10 23:48:43 +02:00
|
|
|
---
|
|
|
|
|
2023-04-08 08:10:22 +03:00
|
|
|
- tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-synapse-auto-compressor
|
|
|
|
- install-all
|
|
|
|
- install-synapse-auto-compressor
|
|
|
|
block:
|
2023-03-12 09:56:53 +02:00
|
|
|
- when: matrix_synapse_auto_compressor_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
|
|
|
|
2023-03-10 23:48:43 +02:00
|
|
|
- when: matrix_synapse_auto_compressor_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
|
2023-04-08 08:10:22 +03:00
|
|
|
|
|
|
|
- tags:
|
2023-03-10 23:48:43 +02:00
|
|
|
- setup-all
|
|
|
|
- setup-synapse-auto-compressor
|
2023-04-08 08:10:22 +03:00
|
|
|
block:
|
2023-03-10 23:48:43 +02:00
|
|
|
- when: not matrix_synapse_auto_compressor_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"
|