Files
awx-operator/roles/installer/templates/ldap.py.j2
2021-03-31 11:25:25 -04:00

7 lines
175 B
Django/Jinja

AUTH_LDAP_GLOBAL_OPTIONS = {
{% if ldap_cacert_ca_crt %}
ldap.OPT_X_TLS_REQUIRE_CERT: True,
ldap.OPT_X_TLS_CACERTFILE: "/etc/openldap/certs/ldap-ca.crt"
{% endif %}
}