mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-29 12:27:14 +01:00
8e63f12fbe
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
# SPDX-FileCopyrightText: 2024 MDAD Team and contributors
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
---
|
|
|
|
- tags:
|
|
- setup-all
|
|
- setup-dendrite
|
|
- install-all
|
|
- install-dendrite
|
|
block:
|
|
- when: matrix_dendrite_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
|
|
|
- when: matrix_dendrite_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
|
|
|
|
- tags:
|
|
- setup-all
|
|
- setup-dendrite
|
|
block:
|
|
- when: not matrix_dendrite_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
|
|
|
|
- tags:
|
|
- self-check
|
|
block:
|
|
- when: matrix_dendrite_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_client_api.yml"
|
|
|
|
- when: matrix_dendrite_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_federation_api.yml"
|
|
|
|
- tags:
|
|
- register-user
|
|
block:
|
|
- when: matrix_dendrite_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/register_user.yml"
|