Rename variable (matrix_synapse_ext_password_provider_ldap -> matrix_synapse_ext_password_provider_ldap_enabled)
This makes it more consistent with other usage throughout the playbook.
This commit is contained in:
parent
cee31a8ab5
commit
9f212adc1d
|
@ -153,7 +153,7 @@ matrix_synapse_ext_password_provider_shared_secret_auth_download_url: "https://r
|
|||
matrix_synapse_ext_password_provider_shared_secret_auth_shared_secret: ""
|
||||
|
||||
# Enable this to activate LDAP password provider
|
||||
matrix_synapse_ext_password_provider_ldap: false
|
||||
matrix_synapse_ext_password_provider_ldap_enabled: false
|
||||
matrix_synapse_ext_password_provider_ldap_uri: "ldap://ldap.mydomain.tld:389"
|
||||
matrix_synapse_ext_password_provider_ldap_start_tls: true
|
||||
matrix_synapse_ext_password_provider_ldap_base: ""
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
- include: tasks/setup/setup_synapse_ext_shared_secret_auth.yml
|
||||
|
||||
- include: tasks/setup/setup_synapse_ext_ldap.yml
|
||||
- include: tasks/setup/setup_synapse_ext_ldap_auth.yml
|
||||
|
||||
- include: tasks/setup/setup_synapse_ext_mautrix_telegram.yml
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
- set_fact:
|
||||
matrix_synapse_password_providers_enabled: true
|
||||
when: "matrix_synapse_ext_password_provider_ldap"
|
||||
when: "matrix_synapse_ext_password_provider_ldap_enabled"
|
||||
|
||||
- set_fact:
|
||||
matrix_synapse_additional_loggers: >
|
||||
{{ matrix_synapse_additional_loggers }}
|
||||
+
|
||||
{{ [{'name': 'ldap_auth_provider', 'level': 'INFO'}] }}
|
||||
when: "matrix_synapse_ext_password_provider_ldap"
|
||||
when: "matrix_synapse_ext_password_provider_ldap_enabled"
|
||||
|
|
@ -649,7 +649,7 @@ password_providers:
|
|||
config:
|
||||
sharedSecret: "{{ matrix_synapse_ext_password_provider_shared_secret_auth_shared_secret }}"
|
||||
{% endif %}
|
||||
{% if matrix_synapse_ext_password_provider_ldap %}
|
||||
{% if matrix_synapse_ext_password_provider_ldap_enabled %}
|
||||
- module: "ldap_auth_provider.LdapAuthProvider"
|
||||
config:
|
||||
enabled: true
|
||||
|
|
Loading…
Reference in a new issue