2022-02-05 20:32:54 +00:00
|
|
|
---
|
2022-11-23 13:52:58 +00:00
|
|
|
|
2022-11-24 09:33:30 +00:00
|
|
|
- block:
|
|
|
|
- when: matrix_mautrix_telegram_enabled | bool and matrix_mautrix_telegram_appservice_public_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/inject_into_nginx_proxy.yml"
|
2019-05-14 14:47:22 +00:00
|
|
|
tags:
|
2022-11-23 13:52:58 +00:00
|
|
|
- setup-all
|
|
|
|
- setup-nginx-proxy
|
2019-05-14 14:47:22 +00:00
|
|
|
|
2022-11-24 09:33:30 +00:00
|
|
|
- block:
|
|
|
|
- when: matrix_mautrix_telegram_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
2019-05-14 14:47:22 +00:00
|
|
|
|
2022-11-24 09:33:30 +00:00
|
|
|
- when: matrix_mautrix_telegram_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
|
2019-05-14 14:47:22 +00:00
|
|
|
|
2022-11-24 09:33:30 +00:00
|
|
|
- when: not matrix_mautrix_telegram_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
|
2019-05-14 14:47:22 +00:00
|
|
|
tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-mautrix-telegram
|