Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

89 lines
2.6 KiB

  1. # SPDX-FileCopyrightText: 2024 MDAD Team and contributors
  2. #
  3. # SPDX-License-Identifier: AGPL-3.0-or-later
  4. ---
  5. # encryption-disabler
  6. - tags:
  7. - setup-all
  8. - setup-synapse
  9. - install-all
  10. - install-synapse
  11. block:
  12. - when: matrix_synapse_ext_encryption_disabler_enabled | bool
  13. ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/encryption-disabler/setup_install.yml"
  14. # rest-auth
  15. - tags:
  16. - setup-all
  17. - setup-synapse
  18. - install-all
  19. - install-synapse
  20. block:
  21. - when: matrix_synapse_ext_password_provider_rest_auth_enabled | bool
  22. ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/rest-auth/setup_install.yml"
  23. # shared-secret-auth
  24. - tags:
  25. - setup-all
  26. - setup-synapse
  27. - install-all
  28. - install-synapse
  29. block:
  30. - when: matrix_synapse_ext_password_provider_shared_secret_auth_enabled | bool
  31. ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/shared-secret-auth/setup_install.yml"
  32. # ldap-auth
  33. - tags:
  34. - setup-all
  35. - setup-synapse
  36. - install-all
  37. - install-synapse
  38. block:
  39. - when: matrix_synapse_ext_password_provider_ldap_enabled | bool
  40. ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/ldap-auth/setup_install.yml"
  41. # synapse-simple-antispam
  42. - tags:
  43. - setup-all
  44. - setup-synapse
  45. - install-all
  46. - install-synapse
  47. block:
  48. - when: matrix_synapse_ext_spam_checker_synapse_simple_antispam_enabled | bool
  49. ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/synapse-simple-antispam/setup_install.yml"
  50. # mjolnir-antispam
  51. - tags:
  52. - setup-all
  53. - setup-synapse
  54. - install-all
  55. - install-synapse
  56. block:
  57. - when: matrix_synapse_ext_spam_checker_mjolnir_antispam_enabled | bool
  58. ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/mjolnir-antispam/setup_install.yml"
  59. # s3-storage-provider
  60. - tags:
  61. - setup-all
  62. - setup-synapse
  63. - install-all
  64. - install-synapse
  65. block:
  66. - when: matrix_synapse_ext_synapse_s3_storage_provider_enabled | bool
  67. ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/s3-storage-provider/validate_config.yml"
  68. - when: matrix_synapse_ext_synapse_s3_storage_provider_enabled | bool
  69. ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/s3-storage-provider/setup_install.yml"
  70. # synapse-auto-accept-invite
  71. - tags:
  72. - setup-all
  73. - setup-synapse
  74. - install-all
  75. - install-synapse
  76. block:
  77. - when: matrix_synapse_ext_synapse_auto_accept_invite_enabled | bool
  78. ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/synapse-auto-accept-invite/setup_install.yml"