Traceback (most recent call last):


 "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/settings/production.py", line 84, in <module>

include(settings_file, optional(settings_files), scope=locals())


 "/var/lib/awx/venv/awx/lib/python3.6/site-packages/split_settings/tools.py", line 107, in include

exec(compiled_code, scope)
# noqa: S102, WPS421


 "/etc/tower/settings.py", line 19, in <module>

SECRET_KEY = get_secret()


 "/etc/tower/settings.py", line 8, in get_secret

return open('/etc/tower/SECRET_KEY', 'rb').read().strip()
IsADirectoryError: [Errno 21] Is a directory: '/etc/tower/SECRET_KEY'

Traceback (most recent call last):


 "/var/lib/awx/venv/awx/lib/python3.6/site-packages/awx/settings/production.py", line 84, in <module>

include(settings_file, optional(settings_files), scope=locals())


 "/var/lib/awx/venv/awx/lib/python3.6/site-packages/split_settings/tools.py", line 107, in include

exec(compiled_code, scope)
# noqa: S102, WPS421


 "/etc/tower/settings.py", line 19, in <module>

SECRET_KEY = get_secret()


 "/etc/tower/settings.py", line 8, in get_secret

return open('/etc/tower/SECRET_KEY', 'rb').read().strip()
IsADirectoryError: [Errno 21] Is a directory: '/etc/tower/SECRET_KEY'
