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

21 lines
572 B
YAML
Raw Normal View History

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