diff --git a/roles/installer/templates/configmaps/config.yaml.j2 b/roles/installer/templates/configmaps/config.yaml.j2 index 00893ddb5..99acf723e 100644 --- a/roles/installer/templates/configmaps/config.yaml.j2 +++ b/roles/installer/templates/configmaps/config.yaml.j2 @@ -15,7 +15,11 @@ data: import os import socket # Import all so that extra_settings works properly - from django_auth_ldap.config import * + try: + # Some AWX setups may have no django_auth_ldap dependency. + from django_auth_ldap.config import * + except: + pass def get_secret(): if os.path.exists("/etc/tower/SECRET_KEY"):