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.
 
 

85 lines
2.4 KiB

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