Make bridges/bots use matrix_addons_homeserver_client_api_url (instead of matrix_homeserver_container_url)

This commit is contained in:
Slavi Pantaleev
2024-01-07 17:04:23 +02:00
parent 142de83b41
commit 7ec6fd3dfe
54 changed files with 89 additions and 34 deletions

View File

@ -49,7 +49,7 @@ matrix_user_verification_service_systemd_service_name: "{{ matrix_user_verificat
matrix_user_verification_service_uvs_access_token: ''
# homeserver client api url
matrix_user_verification_service_uvs_homeserver_url: "{{ matrix_homeserver_container_url }}"
matrix_user_verification_service_uvs_homeserver_url: ""
# disable check for non private ip range of homeserver. e.g. set to `true` if your homeserver domain resolves to a private ip.
matrix_user_verification_service_uvs_disable_ip_blacklist: false

View File

@ -23,3 +23,11 @@
that:
- matrix_homeserver_implementation == 'synapse'
fail_msg: "The User-Verification-Service requires Synapse as homeserver implementation"
- name: Fail if required matrix-user-verification-service settings not defined
ansible.builtin.fail:
msg: >-
You need to define a required configuration setting (`{{ item.name }}`).
when: "item.when | bool and vars[item.name] == ''"
with_items:
- {'name': 'matrix_user_verification_service_uvs_homeserver_url', when: true}