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

26 lines
732 B
YAML
Raw Normal View History

2022-06-23 18:24:52 +00:00
---
- when: matrix_bot_maubot_enabled | bool
ansible.builtin.import_tasks: "{{ role_path }}/tasks/inject_into_nginx_proxy.yml"
2022-06-23 18:24:52 +00:00
tags:
- setup-all
- setup-nginx-proxy
2022-06-23 18:24:52 +00:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/validate_config.yml"
when: "run_setup|bool and matrix_bot_maubot_enabled|bool"
2022-06-23 18:24:52 +00:00
tags:
- setup-all
- setup-bot-maubot
2022-06-23 18:24:52 +00:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_install.yml"
when: "run_setup|bool and matrix_bot_maubot_enabled|bool"
2022-06-23 18:24:52 +00:00
tags:
- setup-all
- setup-bot-maubot
2022-06-23 18:24:52 +00:00
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
when: "run_setup|bool and not matrix_bot_maubot_enabled|bool"
2022-06-23 18:24:52 +00:00
tags:
- setup-all
- setup-bot-maubot