Add matrix-cactus-comments-client role
This is split out from matrix-cactus-comments (see 241779b583
),
but also heavily inspired by `matrix-static-files`.
This commit is contained in:
20
roles/custom/matrix-cactus-comments-client/tasks/main.yml
Normal file
20
roles/custom/matrix-cactus-comments-client/tasks/main.yml
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
|
||||
- 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"
|
Reference in New Issue
Block a user