Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

27 lines
690 B

  1. # SPDX-FileCopyrightText: 2023 MDAD project contributors
  2. # SPDX-FileCopyrightText: 2023 Slavi Pantaleev
  3. #
  4. # SPDX-License-Identifier: AGPL-3.0-or-later
  5. ---
  6. -
  7. tags:
  8. - setup-all
  9. - setup-bot-chatgpt
  10. - install-all
  11. - install-bot-chatgpt
  12. block:
  13. - when: matrix_bot_chatgpt_enabled | bool
  14. ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
  15. - when: matrix_bot_chatgpt_enabled | bool
  16. ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
  17. - tags:
  18. - setup-all
  19. - setup-bot-chatgpt
  20. block:
  21. - when: not matrix_bot_chatgpt_enabled | bool
  22. ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"