matrix-docker-ansible-deploy/roles/custom/matrix-bridge-mautrix-discord/tasks/main.yml

25 lines
678 B
YAML
Raw Normal View History

# SPDX-FileCopyrightText: 2024 MDAD Team and contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later
2022-07-22 16:55:44 +02:00
---
- tags:
- setup-all
- setup-mautrix-discord
- install-all
- install-mautrix-discord
block:
- when: matrix_mautrix_discord_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
2022-07-22 16:55:44 +02:00
- when: matrix_mautrix_discord_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
- tags:
2022-11-25 15:02:51 +01:00
- setup-all
- setup-mautrix-discord
block:
- when: not matrix_mautrix_discord_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"