diff --git a/group_vars/matrix_servers b/group_vars/matrix_servers index 2a42824b4..a53e91c10 100755 --- a/group_vars/matrix_servers +++ b/group_vars/matrix_servers @@ -5065,6 +5065,7 @@ matrix_user_creator_users_auto: | ###################################################################### matrix_user_verification_service_enabled: false + matrix_user_verification_service_systemd_required_services_list: | {{ ['docker.service'] @@ -5072,6 +5073,8 @@ matrix_user_verification_service_systemd_required_services_list: | (['matrix-' + matrix_homeserver_implementation + '.service']) }} +matrix_user_verification_service_container_network: "{{ matrix_addons_container_network }}" + matrix_user_verification_service_container_additional_networks: | {{ ( diff --git a/roles/custom/matrix-user-verification-service/defaults/main.yml b/roles/custom/matrix-user-verification-service/defaults/main.yml index d5be9179a..1b1eeb7fd 100644 --- a/roles/custom/matrix-user-verification-service/defaults/main.yml +++ b/roles/custom/matrix-user-verification-service/defaults/main.yml @@ -25,7 +25,7 @@ matrix_user_verification_service_docker_image: "{{ matrix_user_verification_serv matrix_user_verification_service_docker_image_force_pull: "{{ matrix_user_verification_service_docker_image.endswith(':latest') }}" # The base container network. It will be auto-created by this role if it doesn't exist already. -matrix_user_verification_service_container_network: "{{ matrix_docker_network }}" +matrix_user_verification_service_container_network: "" # A list of additional container networks that the container would be connected to. # The role does not create these networks, so make sure they already exist. diff --git a/roles/custom/matrix-user-verification-service/tasks/validate_config.yml b/roles/custom/matrix-user-verification-service/tasks/validate_config.yml index 322a6b47c..e283ce6c3 100644 --- a/roles/custom/matrix-user-verification-service/tasks/validate_config.yml +++ b/roles/custom/matrix-user-verification-service/tasks/validate_config.yml @@ -31,3 +31,4 @@ when: "item.when | bool and vars[item.name] == ''" with_items: - {'name': 'matrix_user_verification_service_uvs_homeserver_url', when: true} + - {'name': 'matrix_user_verification_service_container_network', when: true}