mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-24 10:27:04 +02:00
410a915a8a
This paves the way for installing other roles into `roles/galaxy` using `ansible-galaxy`, similar to how it's done in: - https://github.com/spantaleev/gitea-docker-ansible-deploy - https://github.com/spantaleev/nextcloud-docker-ansible-deploy In the near future, we'll be removing a lot of the shared role code from here and using upstream roles for it. Some of the core `matrix-*` roles have already been extracted out into other reusable roles: - https://github.com/devture/com.devture.ansible.role.postgres - https://github.com/devture/com.devture.ansible.role.systemd_docker_base - https://github.com/devture/com.devture.ansible.role.timesync - https://github.com/devture/com.devture.ansible.role.vars_preserver - https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages - https://github.com/devture/com.devture.ansible.role.playbook_help We just need to migrate to those.
59 lines
3.6 KiB
YAML
59 lines
3.6 KiB
YAML
---
|
|
# matrix_ldap_registration_proxy - Want to build a large-scale Matrix server using external registration on LDAP?
|
|
# Project source code URL: https://gitlab.com/activism.international/matrix_ldap_registration_proxy
|
|
|
|
matrix_ldap_registration_proxy_enabled: true
|
|
|
|
matrix_ldap_registration_proxy_docker_image: matrix_ldap_registration_proxy
|
|
matrix_ldap_registration_proxy_container_image_self_build_repo: "https://gitlab.com/activism.international/matrix_ldap_registration_proxy.git"
|
|
matrix_ldap_registration_proxy_container_image_self_build_branch: "{{ matrix_ldap_registration_proxy_version }}"
|
|
|
|
matrix_ldap_registration_proxy_version: "296246afc6a9b3105e67fcf6621cf05ebc74b873"
|
|
|
|
matrix_ldap_registration_proxy_base_path: "{{ matrix_base_data_path }}/matrix_ldap_registration_proxy"
|
|
# We need the docker src directory to be named matrix_ldap_registration_proxy.
|
|
matrix_ldap_registration_proxy_docker_src_files_path: "{{ matrix_ldap_registration_proxy_base_path }}/docker-src/matrix_ldap_registration_proxy"
|
|
matrix_ldap_registration_proxy_config_path: "{{ matrix_ldap_registration_proxy_base_path }}/config"
|
|
|
|
matrix_ldap_registration_proxy_ldap_uri: ""
|
|
matrix_ldap_registration_proxy_ldap_base_dn: ""
|
|
matrix_ldap_registration_proxy_ldap_user: ""
|
|
matrix_ldap_registration_proxy_ldap_password: ""
|
|
matrix_ldap_registration_proxy_matrix_server_name: "{{ matrix_domain }}"
|
|
matrix_ldap_registration_proxy_matrix_server_url: "https://{{ matrix_server_fqn_matrix }}"
|
|
|
|
matrix_ldap_registration_proxy_registration_endpoint: "/_matrix/client/r0/register"
|
|
|
|
# Controls whether the self-check feature should validate SSL certificates.
|
|
matrix_matrix_ldap_registration_proxy_self_check_validate_certificates: true
|
|
|
|
matrix_ldap_registration_proxy_container_port: 8080
|
|
# Controls whether the matrix_ldap_registration_proxy container exposes its HTTP port (tcp/{{ matrix_ldap_registration_proxy_container_port }} in the container).
|
|
#
|
|
# Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:8080"), or empty string to not expose.
|
|
matrix_ldap_registration_proxy_container_http_host_bind_port: ''
|
|
|
|
# `matrix_ldap_registration_proxy_container_http_host_bind_port_number_raw` contains the raw port number extracted from `matrix_ldap_registration_proxy_container_http_host_bind_port`,
|
|
# which can contain values like this: ('1234', '127.0.0.1:1234', '0.0.0.0:1234')
|
|
matrix_ldap_registration_proxy_container_http_host_bind_port_number_raw: "{{ '' if matrix_ldap_registration_proxy_container_http_host_bind_port == '' else (matrix_ldap_registration_proxy_container_http_host_bind_port.split(':')[1] if ':' in matrix_ldap_registration_proxy_container_http_host_bind_port else matrix_ldap_registration_proxy_container_http_host_bind_port) }}"
|
|
|
|
matrix_ldap_registration_proxy_registration_addr_with_container: "matrix-ldap_registration-proxy:{{ matrix_ldap_registration_proxy_container_http_host_bind_port_number_raw }}"
|
|
matrix_ldap_registration_proxy_registration_addr_sans_container: "127.0.0.1:{{ matrix_ldap_registration_proxy_container_http_host_bind_port_number_raw }}"
|
|
|
|
|
|
# A list of extra arguments to pass to the container
|
|
matrix_ldap_registration_proxy_container_extra_arguments: []
|
|
|
|
# List of systemd services that matrix_ldap_registration_proxy.service depends on
|
|
matrix_ldap_registration_proxy_systemd_required_services_list: ['docker.service']
|
|
|
|
# List of systemd services that matrix_ldap_registration_proxy.service wants
|
|
matrix_ldap_registration_proxy_systemd_wanted_services_list: []
|
|
|
|
# Additional environment variables to pass to the LDAP proxy environment variables.
|
|
#
|
|
# Example:
|
|
# matrix_ldap_registration_proxy_env_variables_extension: |
|
|
# KEY=value
|
|
matrix_ldap_registration_proxy_env_variables_extension: ''
|