2022-02-05 20:32:54 +00:00
|
|
|
---
|
2019-05-14 14:47:22 +00:00
|
|
|
|
2023-01-29 14:13:42 +00: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 09:33:30 +00:00
|
|
|
- block:
|
|
|
|
- when: matrix_mautrix_whatsapp_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
2019-06-23 22:16:04 +00:00
|
|
|
|
2022-11-24 09:33:30 +00:00
|
|
|
- when: matrix_mautrix_whatsapp_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
|
2022-11-25 14:02:51 +00:00
|
|
|
tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-mautrix-whatsapp
|
|
|
|
- install-all
|
|
|
|
- install-mautrix-whatsapp
|
2019-05-14 14:47:22 +00:00
|
|
|
|
2022-11-25 14:02:51 +00:00
|
|
|
- block:
|
2022-11-24 09:33:30 +00:00
|
|
|
- when: not matrix_mautrix_whatsapp_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-whatsapp
|