3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2025-12-23 17:23:08 +00:00
Files
matrix-docker-ansible-deploy/roles/custom/matrix-cactus-comments-client/tasks/main.yml
2024-12-08 05:01:07 +09:00

25 lines
708 B
YAML

# SPDX-FileCopyrightText: 2024 MDAD Team and contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
- 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"