matrix-docker-ansible-deploy/roles/custom/matrix-bridge-mautrix-meta-messenger/tasks/main.yml
Suguru Hirahara 8e63f12fbe
Setting up REUSE: add copyright statements to yml files in roles/custom/
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2024-12-08 05:01:07 +09:00

25 lines
708 B
YAML

# SPDX-FileCopyrightText: 2024 MDAD Team and contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
- tags:
- setup-all
- setup-mautrix-meta-messenger
- install-all
- install-mautrix-meta-messenger
block:
- when: matrix_mautrix_meta_messenger_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
- when: matrix_mautrix_meta_messenger_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
- tags:
- setup-all
- setup-mautrix-meta-messenger
block:
- when: not matrix_mautrix_meta_messenger_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"