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

21 lines
542 B
YAML
Raw Normal View History

2022-06-23 18:24:52 +00:00
---
- tags:
- setup-all
- setup-bot-maubot
- install-all
- install-bot-maubot
block:
- when: matrix_bot_maubot_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
- when: matrix_bot_maubot_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
- tags:
2022-11-25 14:02:51 +00:00
- setup-all
- setup-bot-maubot
block:
- when: not matrix_bot_maubot_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"