Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

42 строки
1.2 KiB

  1. ---
  2. - name: Download matrix_encryption_disabler
  3. ansible.builtin.get_url:
  4. url: "{{ matrix_synapse_ext_encryption_disabler_download_url }}"
  5. dest: "{{ matrix_synapse_ext_path }}/matrix_e2ee_filter.py"
  6. force: true
  7. mode: 0440
  8. owner: "{{ matrix_synapse_uid }}"
  9. group: "{{ matrix_synapse_gid }}"
  10. register: result
  11. retries: "{{ devture_playbook_help_geturl_retries_count }}"
  12. delay: "{{ devture_playbook_help_geturl_retries_delay }}"
  13. until: result is not failed
  14. - ansible.builtin.set_fact:
  15. matrix_synapse_modules: |
  16. {{
  17. matrix_synapse_modules | default([])
  18. +
  19. [
  20. {
  21. "module": "matrix_e2ee_filter.EncryptedRoomFilter",
  22. "config": matrix_synapse_ext_encryption_config
  23. }
  24. ]
  25. }}
  26. matrix_synapse_container_extra_arguments: >
  27. {{
  28. matrix_synapse_container_extra_arguments | default([])
  29. +
  30. ["--mount type=bind,src={{ matrix_synapse_ext_path }}/matrix_e2ee_filter.py,dst={{ matrix_synapse_in_container_python_packages_path }}/matrix_e2ee_filter.py,ro"]
  31. }}
  32. matrix_synapse_additional_loggers: >
  33. {{
  34. matrix_synapse_additional_loggers
  35. +
  36. [{'name': 'matrix_e2ee_filter', 'level': 'INFO'}]
  37. }}