matrix-docker-ansible-deploy/roles/custom/matrix-bridge-appservice-webhooks/tasks/main.yml

22 lines
680 B
YAML
Raw Normal View History

---
- block:
- when: matrix_appservice_webhooks_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/inject_into_nginx_proxy.yml"
2020-01-09 16:00:03 +00:00
tags:
- setup-all
- setup-nginx-proxy
2020-01-09 16:00:03 +00:00
- block:
- when: matrix_appservice_webhooks_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
2020-01-09 16:00:03 +00:00
- when: matrix_appservice_webhooks_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
2020-01-09 16:00:03 +00:00
- when: not matrix_appservice_webhooks_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
2020-01-09 16:00:03 +00:00
tags:
- setup-all
- setup-appservice-webhooks