Sfoglia il codice sorgente

Fix syntax error regression

pull/1948/head
Slavi Pantaleev 3 anni fa
parent
commit
cac9bf2637
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      roles/matrix-synapse/vars/main.yml

+ 2
- 2
roles/matrix-synapse/vars/main.yml Vedi File

@@ -24,11 +24,11 @@ matrix_synapse_media_store_directory_name: "{{ matrix_synapse_media_store_path |
# so it's not that important whether we forward them or not. # so it's not that important whether we forward them or not.
# #
# Basically, we aim to cover most things. Skipping `/_synapse/client` or a few other minor things doesn't matter too much. # Basically, we aim to cover most things. Skipping `/_synapse/client` or a few other minor things doesn't matter too much.
matrix_synapse_workers_generic_worker_client_server_endpoints: "{{ matrix_synapse_workers_generic_worker_endpoints | default([]) | map('regex_search', '.*/_matrix/client.*' | list | difference([none]) }}"
matrix_synapse_workers_generic_worker_client_server_endpoints: "{{ matrix_synapse_workers_generic_worker_endpoints | default([]) | map('regex_search', '.*/_matrix/client.*') | list | difference([none]) }}"


# A Synapse generic worker can handle both federation and client-server API endpoints. # A Synapse generic worker can handle both federation and client-server API endpoints.
# We wish to split these, as we normally serve federation separately and don't want them mixed up. # We wish to split these, as we normally serve federation separately and don't want them mixed up.
# #
# This is some ugly Ansible/Jinja2 hack (seen here: https://stackoverflow.com/a/47831492), # This is some ugly Ansible/Jinja2 hack (seen here: https://stackoverflow.com/a/47831492),
# which takes a list of various strings and removes the ones NOT containing `/_matrix/federation` or `/_matrix/key` anywhere in them. # which takes a list of various strings and removes the ones NOT containing `/_matrix/federation` or `/_matrix/key` anywhere in them.
matrix_synapse_workers_generic_worker_federation_endpoints: "{{ matrix_synapse_workers_generic_worker_endpoints | default([]) | map('regex_search', '.*(/_matrix/federation|/_matrix/key).*' | list | difference([none]) }}"
matrix_synapse_workers_generic_worker_federation_endpoints: "{{ matrix_synapse_workers_generic_worker_endpoints | default([]) | map('regex_search', '.*(/_matrix/federation|/_matrix/key).*') | list | difference([none]) }}"

Caricamento…
Annulla
Salva