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.
 
 

22 lines
538 B

  1. ---
  2. -
  3. tags:
  4. - setup-all
  5. - setup-bot-chatgpt
  6. - install-all
  7. - install-bot-chatgpt
  8. block:
  9. - when: matrix_bot_chatgpt_enabled | bool
  10. ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
  11. - when: matrix_bot_chatgpt_enabled | bool
  12. ansible.builtin.include_tasks: "{{ role_path }}/tasks/install.yml"
  13. - tags:
  14. - setup-all
  15. - setup-bot-chatgpt
  16. block:
  17. - when: not matrix_bot_chatgpt_enabled | bool
  18. ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall.yml"