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

15 lines
463 B
YAML
Raw Normal View History

2022-07-22 14:55:44 +00:00
---
- block:
- when: matrix_mautrix_discord_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
2022-07-22 14:55:44 +00:00
- when: matrix_mautrix_discord_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
2022-07-22 14:55:44 +00:00
- when: not matrix_mautrix_discord_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
2022-07-22 14:55:44 +00:00
tags:
- setup-all
- setup-mautrix-discord