matrix-docker-ansible-deploy/roles/custom/matrix-bot-buscarron/tasks/main.yml

25 lines
735 B
YAML
Raw Normal View History

# SPDX-FileCopyrightText: 2022 MDAD Team and contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later
2022-04-23 15:19:24 +02:00
---
- tags:
- setup-all
- setup-bot-buscarron
- install-all
- install-bot-buscarron
block:
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
when: "run_setup | bool and matrix_bot_buscarron_enabled | bool"
2022-04-23 15:19:24 +02:00
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
when: "run_setup | bool and matrix_bot_buscarron_enabled | bool"
- tags:
2022-11-25 15:02:51 +01:00
- setup-all
- setup-bot-buscarron
block:
- ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
when: "run_setup | bool and not matrix_bot_buscarron_enabled | bool"