2022-09-09 19:37:52 +08:00
|
|
|
---
|
|
|
|
|
2023-03-07 23:28:10 +08:00
|
|
|
- tags:
|
2022-11-23 21:52:58 +08:00
|
|
|
- setup-all
|
|
|
|
- setup-nginx-proxy
|
2022-11-25 22:02:51 +08:00
|
|
|
- install-all
|
|
|
|
- install-nginx-proxy
|
2023-03-07 23:28:10 +08:00
|
|
|
block:
|
|
|
|
- when: matrix_cactus_comments_enabled | bool and matrix_cactus_comments_serve_client_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/inject_into_nginx_proxy.yml"
|
2022-09-09 19:37:52 +08:00
|
|
|
|
2023-03-07 23:28:10 +08:00
|
|
|
- tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-cactus-comments
|
|
|
|
- install-all
|
|
|
|
- install-cactus-comments
|
|
|
|
block:
|
2022-11-24 17:33:30 +08:00
|
|
|
- when: matrix_cactus_comments_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
2022-09-09 19:37:52 +08:00
|
|
|
|
2022-11-24 17:33:30 +08:00
|
|
|
- when: matrix_cactus_comments_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
|
2023-03-07 23:28:10 +08:00
|
|
|
|
|
|
|
- tags:
|
2022-11-25 22:02:51 +08:00
|
|
|
- setup-all
|
|
|
|
- setup-cactus-comments
|
2023-03-07 23:28:10 +08:00
|
|
|
block:
|
2022-11-24 17:33:30 +08:00
|
|
|
- when: not matrix_cactus_comments_enabled | bool
|
|
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
|