mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-23 21:15:45 +00:00
ea992496a3
This is split out from matrix-cactus-comments (see 241779b583
),
but also heavily inspired by `matrix-static-files`.
21 lines
602 B
YAML
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"
|