Matrix Docker Ansible eploy
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

88 linhas
2.5 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. - import-synapse-media-store
  46. block:
  47. - when: matrix_synapse_enabled | bool
  48. ansible.builtin.include_tasks: "{{ role_path }}/tasks/import_media_store.yml"
  49. - tags:
  50. - import-synapse-sqlite-db
  51. block:
  52. - when: matrix_synapse_enabled | bool
  53. ansible.builtin.include_tasks: "{{ role_path }}/tasks/import_synapse_sqlite_db.yml"
  54. - tags:
  55. - register-user
  56. block:
  57. - when: matrix_synapse_enabled and not matrix_synapse_matrix_authentication_service_enabled
  58. ansible.builtin.include_tasks: "{{ role_path }}/tasks/register_user.yml"
  59. - tags:
  60. - update-user-password
  61. block:
  62. - when: matrix_synapse_enabled | bool
  63. ansible.builtin.include_tasks: "{{ role_path }}/tasks/update_user_password.yml"
  64. - tags:
  65. - rust-synapse-compress-state
  66. block:
  67. - when: matrix_synapse_enabled | bool
  68. ansible.builtin.include_tasks: "{{ role_path }}/tasks/rust-synapse-compress-state/main.yml"
  69. - tags:
  70. - self-check
  71. block:
  72. - when: matrix_synapse_enabled | bool
  73. ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_client_api.yml"
  74. - when: matrix_synapse_enabled | bool
  75. ansible.builtin.include_tasks: "{{ role_path }}/tasks/self_check_federation_api.yml"