2022-02-05 21:32:54 +01:00
|
|
|
---
|
2019-05-14 16:47:22 +02:00
|
|
|
|
2023-01-29 15:13:42 +01:00
|
|
|
- block:
|
|
|
|
- when: matrix_mautrix_whatsapp_enabled | bool and matrix_mautrix_whatsapp_metrics_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/inject_into_nginx_proxy.yml"
|
|
|
|
tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-nginx-proxy
|
|
|
|
- install-all
|
|
|
|
- install-nginx-proxy
|
|
|
|
|
2022-11-24 10:33:30 +01:00
|
|
|
- block:
|
|
|
|
- when: matrix_mautrix_whatsapp_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
2019-06-24 00:16:04 +02:00
|
|
|
|
2022-11-24 10:33:30 +01:00
|
|
|
- when: matrix_mautrix_whatsapp_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
|
2022-11-25 15:02:51 +01:00
|
|
|
tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-mautrix-whatsapp
|
|
|
|
- install-all
|
|
|
|
- install-mautrix-whatsapp
|
2019-05-14 16:47:22 +02:00
|
|
|
|
2022-11-25 15:02:51 +01:00
|
|
|
- block:
|
2022-11-24 10:33:30 +01:00
|
|
|
- when: not matrix_mautrix_whatsapp_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
|
2019-05-14 16:47:22 +02:00
|
|
|
tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-mautrix-whatsapp
|