mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-11-27 12:08:35 +01:00
Add Matrix.to (#4750)
This commit is contained in:
27
roles/custom/matrix-matrixto/tasks/main.yml
Normal file
27
roles/custom/matrix-matrixto/tasks/main.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
# SPDX-FileCopyrightText: 2023 Slavi Pantaleev
|
||||
# SPDX-FileCopyrightText: 2025 Suguru Hirahara
|
||||
#
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
---
|
||||
- name: Perform Matrix.to installation tasks
|
||||
when: matrix_matrixto_enabled | bool
|
||||
tags:
|
||||
- setup-all
|
||||
- setup-matrixto
|
||||
- install-all
|
||||
- install-matrixto
|
||||
block:
|
||||
- name: Validate Matrix.to configuration
|
||||
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
||||
- name: Install Matrix.to
|
||||
ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
|
||||
|
||||
- name: Perform Matrix.to uninstallation tasks
|
||||
when: not matrix_matrixto_enabled | bool
|
||||
tags:
|
||||
- setup-all
|
||||
- setup-matrixto
|
||||
block:
|
||||
- name: Uninstall Matrix.to
|
||||
ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"
|
||||
Reference in New Issue
Block a user