Parcourir la source

Fix matrix_dendrite_client_api_turn_shared_secret not being defined

Regression since https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2290
pull/2304/head
Slavi Pantaleev il y a 3 ans
Parent
révision
4b2d30a474
3 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. +1
    -1
      group_vars/matrix_servers
  2. +1
    -1
      roles/custom/matrix-dendrite/defaults/main.yml
  3. +2
    -1
      roles/custom/matrix-dendrite/tasks/validate_config.yml

+ 1
- 1
group_vars/matrix_servers Voir le fichier

@@ -3026,7 +3026,7 @@ matrix_dendrite_client_api_turn_uris: |
else [] else []
}} }}


matrix_dendrite_turn_shared_secret: "{{ matrix_coturn_turn_static_auth_secret if matrix_coturn_enabled else '' }}"
matrix_dendrite_client_api_turn_shared_secret: "{{ matrix_coturn_turn_static_auth_secret if matrix_coturn_enabled else '' }}"


matrix_dendrite_disable_tls_validation: "{{ true if matrix_ssl_retrieval_method == 'self-signed' else false }}" matrix_dendrite_disable_tls_validation: "{{ true if matrix_ssl_retrieval_method == 'self-signed' else false }}"




+ 1
- 1
roles/custom/matrix-dendrite/defaults/main.yml Voir le fichier

@@ -152,7 +152,7 @@ matrix_dendrite_pushserver_database: "dendrite_pushserver"
matrix_dendrite_mscs_database: "dendrite_mscs" matrix_dendrite_mscs_database: "dendrite_mscs"


matrix_dendrite_client_api_turn_uris: [] matrix_dendrite_client_api_turn_uris: []
matrix_dendrite_client_api_turn_client_api_shared_secret: ""
matrix_dendrite_client_api_turn_shared_secret: ""
matrix_dendrite_client_api_turn_allow_guests: false matrix_dendrite_client_api_turn_allow_guests: false


matrix_dendrite_disable_tls_validation: false matrix_dendrite_disable_tls_validation: false


+ 2
- 1
roles/custom/matrix-dendrite/tasks/validate_config.yml Voir le fichier

@@ -21,7 +21,8 @@
- {'old': 'matrix_dendrite_registration_disabled', 'new': 'matrix_dendrite_client_api_registration_disabled'} - {'old': 'matrix_dendrite_registration_disabled', 'new': 'matrix_dendrite_client_api_registration_disabled'}
- {'old': 'matrix_dendrite_registration_shared_secret', 'new': 'matrix_dendrite_client_api_registration_shared_secret'} - {'old': 'matrix_dendrite_registration_shared_secret', 'new': 'matrix_dendrite_client_api_registration_shared_secret'}
- {'old': 'matrix_dendrite_turn_uris', 'new': 'matrix_dendrite_client_api_turn_uris'} - {'old': 'matrix_dendrite_turn_uris', 'new': 'matrix_dendrite_client_api_turn_uris'}
- {'old': 'matrix_dendrite_turn_client_api_shared_secret', 'new': 'matrix_dendrite_client_api_turn_client_api_shared_secret'}
- {'old': 'matrix_dendrite_turn_client_api_shared_secret', 'new': 'matrix_dendrite_client_api_turn_shared_secret'}
- {'old': 'matrix_dendrite_client_api_turn_client_api_shared_secret', 'new': 'matrix_dendrite_client_api_turn_shared_secret'}
- {'old': 'matrix_dendrite_turn_allow_guests', 'new': 'matrix_dendrite_client_api_turn_allow_guests'} - {'old': 'matrix_dendrite_turn_allow_guests', 'new': 'matrix_dendrite_client_api_turn_allow_guests'}
- {'old': 'matrix_dendrite_rate_limiting_enabled', 'new': 'matrix_dendrite_client_api_rate_limiting_enabled'} - {'old': 'matrix_dendrite_rate_limiting_enabled', 'new': 'matrix_dendrite_client_api_rate_limiting_enabled'}
- {'old': 'matrix_dendrite_rate_limiting_threshold', 'new': 'matrix_dendrite_client_api_rate_limiting_threshold'} - {'old': 'matrix_dendrite_rate_limiting_threshold', 'new': 'matrix_dendrite_client_api_rate_limiting_threshold'}


Chargement…
Annuler
Enregistrer