mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-01-03 23:07:14 +01:00
8e63f12fbe
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
34 lines
962 B
YAML
34 lines
962 B
YAML
# SPDX-FileCopyrightText: 2024 MDAD Team and contributors
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
---
|
|
|
|
- tags:
|
|
- setup-all
|
|
- setup-client-element
|
|
- install-all
|
|
- install-client-element
|
|
block:
|
|
- when: matrix_client_element_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
|
|
|
- when: matrix_client_element_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/prepare_themes.yml"
|
|
|
|
- when: matrix_client_element_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
|
|
|
|
- tags:
|
|
- setup-all
|
|
- setup-client-element
|
|
block:
|
|
- when: not matrix_client_element_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
|
|
|
|
- tags:
|
|
- self-check
|
|
block:
|
|
- when: matrix_client_element_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check.yml"
|