Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 

42 wiersze
1.4 KiB

  1. # SPDX-FileCopyrightText: 2022 - 2024 Slavi Pantaleev
  2. # SPDX-FileCopyrightText: 2022 MDAD project contributors
  3. # SPDX-FileCopyrightText: 2022 Marko Weltzer
  4. #
  5. # SPDX-License-Identifier: AGPL-3.0-or-later
  6. ---
  7. - tags:
  8. # Resetting the crypto store is destructive and is only ever meant to happen
  9. # when explicitly asked for. Without `never`, a playbook run that does not
  10. # select tags at all runs this block along with everything else - which fails
  11. # on a host where the service does not exist yet, and silently resets the
  12. # crypto store on one where it does.
  13. - never
  14. - reset-hookshot-encryption
  15. block:
  16. - when: matrix_bridge_hookshot_enabled | bool
  17. ansible.builtin.include_tasks: "{{ role_path }}/tasks/reset_encryption.yml"
  18. - tags:
  19. - setup-all
  20. - setup-hookshot
  21. - setup-bridge-hookshot
  22. - install-all
  23. - install-hookshot
  24. - install-bridge-hookshot
  25. block:
  26. - when: matrix_bridge_hookshot_enabled | bool
  27. ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
  28. - when: matrix_bridge_hookshot_enabled | bool
  29. ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
  30. - tags:
  31. - setup-all
  32. - setup-hookshot
  33. - setup-bridge-hookshot
  34. block:
  35. - when: not matrix_bridge_hookshot_enabled | bool
  36. ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"