42e4e50f5b
This extends the collection with support for seamless authentication at the Jitsi server using Matrix OpenID. 1. New role for installing the [Matrix User Verification Service](https://github.com/matrix-org/matrix-user-verification-service) 2. Changes to Jitsi role: Installing Jitsi Prosody Mods and configuring Jitsi Auth 3. Changes to Jitsi and nginx-proxy roles: Serving .well-known/element/jitsi from jitsi.DOMAIN 4. We updated the Jitsi documentation on authentication and added documentation for the user verification service.
25 lines
961 B
YAML
25 lines
961 B
YAML
---
|
|
|
|
- name: verify all necessary variables are present
|
|
assert:
|
|
that:
|
|
- matrix_user_verification_service_uvs_access_token is defined and matrix_user_verification_service_uvs_access_token|length
|
|
- matrix_user_verification_service_uvs_homeserver_url is defined and matrix_user_verification_service_uvs_homeserver_url|length
|
|
fail_msg: "Missing variable in {{ matrix_user_verification_service_ansible_name }} role"
|
|
|
|
- block:
|
|
- when: run_setup | bool and matrix_user_verification_service_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_install.yml"
|
|
tags:
|
|
- setup-all
|
|
- setup-user-verification-service
|
|
- install-all
|
|
- install-user-verification-service
|
|
|
|
- block:
|
|
- when: run_setup | bool and not matrix_user_verification_service_enabled | bool
|
|
ansible.builtin.include_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
|
|
tags:
|
|
- setup-all
|
|
- setup-user-verification-service
|