Use a template option for the env with variable extension

This commit is contained in:
Julian-Samuel Gebühr
2022-09-04 09:09:09 +02:00
parent 7665c5e048
commit 949ca115fe
3 changed files with 11 additions and 7 deletions

View File

@ -39,9 +39,10 @@ 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: []
# Default LDAP configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
matrix_ldap_registration_proxy_configuration_env: "{{ lookup('template', 'templates/ldap-registration-proxy.env.j2') }}"
# 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: ''
# Holds the final LDAP configuration (a combination of the default and its extension).
matrix_ldap_registration_proxy_configuration: "{{ matrix_ldap_registration_proxy_configuration_env }}"