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.
 
 

57 lines
1.6 KiB

  1. # SPDX-FileCopyrightText: 2022 - 2023 Slavi Pantaleev
  2. #
  3. # SPDX-License-Identifier: AGPL-3.0-or-later
  4. ---
  5. # encryption-disabler
  6. - tags:
  7. - setup-all
  8. - setup-synapse
  9. block:
  10. - when: not matrix_synapse_ext_encryption_disabler_enabled | bool
  11. ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/encryption-disabler/setup_uninstall.yml"
  12. # rest-auth
  13. - tags:
  14. - setup-all
  15. - setup-synapse
  16. block:
  17. - when: not matrix_synapse_ext_password_provider_rest_auth_enabled | bool
  18. ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/rest-auth/setup_uninstall.yml"
  19. # shared-secret-auth
  20. - tags:
  21. - setup-all
  22. - setup-synapse
  23. block:
  24. - when: not matrix_synapse_ext_password_provider_shared_secret_auth_enabled | bool
  25. ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/shared-secret-auth/setup_uninstall.yml"
  26. # ldap-auth has no uninstall tasks
  27. # synapse-simple-antispam
  28. - tags:
  29. - setup-all
  30. - setup-synapse
  31. block:
  32. - when: not matrix_synapse_ext_spam_checker_synapse_simple_antispam_enabled | bool
  33. ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/synapse-simple-antispam/setup_uninstall.yml"
  34. # mjolnir-antispam
  35. - tags:
  36. - setup-all
  37. - setup-synapse
  38. block:
  39. - when: not matrix_synapse_ext_spam_checker_mjolnir_antispam_enabled | bool
  40. ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/mjolnir-antispam/setup_uninstall.yml"
  41. # s3-storage-provider
  42. - tags:
  43. - setup-all
  44. - setup-synapse
  45. block:
  46. - when: not matrix_synapse_ext_synapse_s3_storage_provider_enabled | bool
  47. ansible.builtin.include_tasks: "{{ role_path }}/tasks/ext/s3-storage-provider/setup_uninstall.yml"