mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
fix: explicitly import ldap on config file
File "/etc/tower/conf.d/ldap.py", line 2, in <module> ldap.OPT_X_TLS_REQUIRE_CERT: True, ^^^^ NameError: name 'ldap' is not defined
This commit is contained in:
committed by
Dimitri Savineau
parent
54072d6a46
commit
f967c7d341
@@ -1,3 +1,5 @@
|
||||
import ldap
|
||||
|
||||
AUTH_LDAP_GLOBAL_OPTIONS = {
|
||||
{% if ldap_cacert_ca_crt %}
|
||||
ldap.OPT_X_TLS_REQUIRE_CERT: True,
|
||||
|
||||
Reference in New Issue
Block a user