Matrix Docker Ansible eploy
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 

84 líneas
2.3 KiB

  1. # SPDX-FileCopyrightText: 2024 MDAD Team and contributors
  2. #
  3. # SPDX-License-Identifier: AGPL-3.0-or-later
  4. ---
  5. - tags:
  6. - setup-all
  7. - setup-synapse
  8. - install-all
  9. - install-synapse
  10. - setup-synapse-reverse-proxy-companion
  11. - install-synapse-reverse-proxy-companion
  12. - start
  13. - start-all
  14. - start-group
  15. - restart
  16. - restart-all
  17. - restart-group
  18. - stop
  19. - stop-all
  20. - stop-group
  21. block:
  22. - when: matrix_synapse_enabled | bool
  23. ansible.builtin.include_tasks: "{{ role_path }}/tasks/init.yml"
  24. - tags:
  25. - setup-all
  26. - setup-synapse
  27. - install-all
  28. - install-synapse
  29. block:
  30. - when: matrix_synapse_enabled | bool
  31. ansible.builtin.include_tasks: "{{ role_path }}/tasks/validate_config.yml"
  32. - when: matrix_synapse_enabled | bool
  33. ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
  34. - tags:
  35. - setup-all
  36. - setup-synapse
  37. block:
  38. # This always runs because it handles uninstallation for sub-components too.
  39. - ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
  40. - tags:
  41. - import-synapse-media-store
  42. block:
  43. - when: matrix_synapse_enabled | bool
  44. ansible.builtin.include_tasks: "{{ role_path }}/tasks/import_media_store.yml"
  45. - tags:
  46. - import-synapse-sqlite-db
  47. block:
  48. - when: matrix_synapse_enabled | bool
  49. ansible.builtin.include_tasks: "{{ role_path }}/tasks/import_synapse_sqlite_db.yml"
  50. - tags:
  51. - register-user
  52. block:
  53. - when: matrix_synapse_enabled and not matrix_synapse_experimental_features_msc3861_enabled
  54. ansible.builtin.include_tasks: "{{ role_path }}/tasks/register_user.yml"
  55. - tags:
  56. - update-user-password
  57. block:
  58. - when: matrix_synapse_enabled | bool
  59. ansible.builtin.include_tasks: "{{ role_path }}/tasks/update_user_password.yml"
  60. - tags:
  61. - rust-synapse-compress-state
  62. block:
  63. - when: matrix_synapse_enabled | bool
  64. ansible.builtin.include_tasks: "{{ role_path }}/tasks/rust-synapse-compress-state/main.yml"
  65. - tags:
  66. - self-check
  67. block:
  68. - when: matrix_synapse_enabled | bool
  69. ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_client_api.yml"
  70. - when: matrix_synapse_enabled | bool
  71. ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_federation_api.yml"