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.
 
 

32 lines
1009 B

  1. # SPDX-FileCopyrightText: 2022 - 2023 Julian-Samuel Gebühr
  2. # SPDX-FileCopyrightText: 2022 - 2023 Slavi Pantaleev
  3. #
  4. # SPDX-License-Identifier: AGPL-3.0-or-later
  5. ---
  6. - tags:
  7. - setup-all
  8. - setup-bot-matrix-registration-bot
  9. - install-all
  10. - install-bot-matrix-registration-bot
  11. block:
  12. - when: matrix_bot_matrix_registration_bot_enabled | bool
  13. ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
  14. - when: matrix_bot_matrix_registration_bot_enabled | bool
  15. ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
  16. - tags:
  17. - setup-all
  18. - setup-bot-matrix-registration-bot
  19. block:
  20. - when: not matrix_bot_matrix_registration_bot_enabled | bool
  21. ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
  22. - tags:
  23. - bot-matrix-registration-bot-clean-cache
  24. block:
  25. - when: matrix_bot_matrix_registration_bot_enabled | bool
  26. ansible.builtin.include_tasks: "{{ role_path }}/tasks/clean_cache.yml"