Explorar el Código

Moved to own var

pull/1769/head
Markus hace 3 años
padre
commit
2114661373
Se han modificado 3 ficheros con 5 adiciones y 2 borrados
  1. +1
    -0
      roles/matrix-synapse/defaults/main.yml
  2. +2
    -2
      roles/matrix-synapse/tasks/synapse/setup_install.yml
  3. +2
    -0
      roles/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 1
- 0
roles/matrix-synapse/defaults/main.yml Ver fichero

@@ -651,6 +651,7 @@ matrix_synapse_spam_checker: []
# You can define your own list of modules here. See the `modules` syntax in `homeserver.yaml.j2` # You can define your own list of modules here. See the `modules` syntax in `homeserver.yaml.j2`
# Certain Synapse extensions that you can enable below auto-inject themselves into `matrix_synapse_modules` at runtime. # Certain Synapse extensions that you can enable below auto-inject themselves into `matrix_synapse_modules` at runtime.
matrix_synapse_modules: [] matrix_synapse_modules: []
matrix_synapse_media_storage_providers: []


matrix_synapse_encryption_enabled_by_default_for_room_type: "off" matrix_synapse_encryption_enabled_by_default_for_room_type: "off"




+ 2
- 2
roles/matrix-synapse/tasks/synapse/setup_install.yml Ver fichero

@@ -130,9 +130,9 @@
mode: 0755 mode: 0755


- set_fact: - set_fact:
matrix_synapse_modules: |
matrix_synapse_media_storage_providers: |
{{ {{
matrix_synapse_modules|default([])
matrix_synapse_media_storage_providers|default([])
+ +
[ [
{ {


+ 2
- 0
roles/matrix-synapse/templates/synapse/homeserver.yaml.j2 Ver fichero

@@ -1039,6 +1039,8 @@ media_store_path: "/matrix-media-store-parent/{{ matrix_synapse_media_store_dire
# config: # config:
# directory: /mnt/some/other/directory # directory: /mnt/some/other/directory


media_storage_providers: {{ matrix_synapse_media_storage_providers|to_json }}

# The largest allowed upload size in bytes # The largest allowed upload size in bytes
# #
# If you are using a reverse proxy you may also need to set this value in # If you are using a reverse proxy you may also need to set this value in


Cargando…
Cancelar
Guardar