2024-12-07 17:34:44 +01:00
|
|
|
# SPDX-FileCopyrightText: 2024 MDAD Team and contributors
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
2022-02-05 21:32:54 +01:00
|
|
|
---
|
2022-11-23 14:52:58 +01:00
|
|
|
|
2023-03-07 16:28:10 +01:00
|
|
|
- tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-mautrix-telegram
|
|
|
|
- install-all
|
|
|
|
- install-mautrix-telegram
|
|
|
|
block:
|
2022-11-24 10:33:30 +01:00
|
|
|
- when: matrix_mautrix_telegram_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
2019-05-14 16:47:22 +02:00
|
|
|
|
2022-11-24 10:33:30 +01:00
|
|
|
- when: matrix_mautrix_telegram_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
|
2023-03-07 16:28:10 +01:00
|
|
|
|
|
|
|
- tags:
|
2022-11-25 15:02:51 +01:00
|
|
|
- setup-all
|
|
|
|
- setup-mautrix-telegram
|
2023-03-07 16:28:10 +01:00
|
|
|
block:
|
2022-11-24 10:33:30 +01:00
|
|
|
- when: not matrix_mautrix_telegram_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
|