# SPDX-FileCopyrightText: 2019 - 2022 Slavi Pantaleev
# SPDX-FileCopyrightText: 2019 Dan Arnfield
#
# SPDX-License-Identifier: AGPL-3.0-or-later

---

- ansible.builtin.import_tasks: "{{ role_path }}/tasks/synapse/setup_install.yml"
  when: matrix_synapse_enabled | bool

- ansible.builtin.import_tasks: "{{ role_path }}/tasks/synapse/setup_uninstall.yml"
  when: "not matrix_synapse_enabled | bool"
