3
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2025-12-22 00:33:08 +00:00
Files
matrix-docker-ansible-deploy/roles/custom/matrix-bot-chatgpt/tasks/main.yml
2024-12-08 05:01:50 +09:00

26 lines
644 B
YAML

# SPDX-FileCopyrightText: 2023 MDAD Team and contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
-
tags:
- setup-all
- setup-bot-chatgpt
- install-all
- install-bot-chatgpt
block:
- when: matrix_bot_chatgpt_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
- when: matrix_bot_chatgpt_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
- tags:
- setup-all
- setup-bot-chatgpt
block:
- when: not matrix_bot_chatgpt_enabled | bool
ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"