matrix-docker-ansible-deploy/roles/custom/matrix-cactus-comments-client/tasks/main.yml
Slavi Pantaleev ea992496a3 Add matrix-cactus-comments-client role
This is split out from matrix-cactus-comments (see 241779b583),
but also heavily inspired by `matrix-static-files`.
2024-01-09 09:53:01 +02:00

21 lines
602 B
YAML

---
- tags:
- setup-all
- setup-cactus-comments-client
- install-all
- install-cactus-comments-client
block:
- when: matrix_cactus_comments_client_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
- when: matrix_cactus_comments_client_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
- tags:
- setup-all
- setup-cactus-comments-client
block:
- when: not matrix_cactus_comments_client_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"