Matrix Docker Ansible eploy
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 

90 Zeilen
2.5 KiB

  1. # SPDX-FileCopyrightText: 2022 - 2026 Slavi Pantaleev
  2. #
  3. # SPDX-License-Identifier: AGPL-3.0-or-later
  4. ---
  5. - tags:
  6. - always
  7. block:
  8. - ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_migration_version.yml"
  9. - tags:
  10. - setup-all
  11. - install-all
  12. block:
  13. - ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
  14. - when: ansible_facts.os_family == 'Debian' and matrix_playbook_docker_installation_enabled | bool and matrix_playbook_migration_debian_signedby_migration_enabled | bool
  15. tags:
  16. - setup-all
  17. - install-all
  18. - setup-docker
  19. - install-docker
  20. block:
  21. - ansible.builtin.include_tasks: "{{ role_path }}/tasks/debian_docker_signedby_migration.yml"
  22. - when: ansible_facts.os_family == 'Debian' and matrix_playbook_docker_installation_enabled | bool and matrix_playbook_migration_docker_trusted_gpg_d_migration_enabled | bool
  23. tags:
  24. - setup-all
  25. - install-all
  26. - setup-docker
  27. - install-docker
  28. block:
  29. - ansible.builtin.include_tasks: "{{ role_path }}/tasks/debian_docker_trusted_gpg_d_migration_migration.yml"
  30. - when: matrix_playbook_docker_installation_enabled | bool
  31. tags:
  32. - setup-all
  33. - install-all
  34. - setup-docker
  35. - install-docker
  36. block:
  37. - ansible.builtin.include_tasks: "{{ role_path }}/tasks/docker_daemon_options_file_cleanup.yml"
  38. - tags:
  39. - setup-all
  40. - install-all
  41. block:
  42. - ansible.builtin.include_tasks: "{{ role_path }}/tasks/cleanup_usr_local_bin.yml"
  43. - tags:
  44. - setup-all
  45. - install-all
  46. block:
  47. - ansible.builtin.include_tasks: "{{ role_path }}/tasks/cleanup_matrix_static_files_well_known.yml"
  48. - tags:
  49. - setup-all
  50. - install-all
  51. block:
  52. - ansible.builtin.include_tasks: "{{ role_path }}/tasks/cleanup_matrix_static_files_well_known.yml"
  53. - tags:
  54. - setup-all
  55. - install-all
  56. block:
  57. - ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall_matrix_nginx_proxy.yml"
  58. - when: matrix_playbook_migration_matrix_ssl_uninstallation_enabled | bool
  59. tags:
  60. - setup-all
  61. - install-all
  62. block:
  63. - ansible.builtin.include_tasks: "{{ role_path }}/tasks/uninstall_matrix_ssl.yml"
  64. - tags:
  65. - setup-all
  66. - install-all
  67. block:
  68. - ansible.builtin.include_tasks: "{{ role_path }}/tasks/migrate_matrix_mailer.yml"
  69. - when: traefik_enabled | bool
  70. tags:
  71. - setup-all
  72. - install-all
  73. - setup-traefik
  74. - install-traefik
  75. block:
  76. - ansible.builtin.include_tasks: "{{ role_path }}/tasks/devture_traefik_to_matrix_traefik.yml"