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.
 
 

98 líneas
2.7 KiB

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