mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 15:27:47 -02:30
Theoretical move from /etc/awx/ to /etc/tower/.
This commit is contained in:
@@ -55,17 +55,17 @@ LOGGING['handlers']['rotating_file'] = {
|
||||
}
|
||||
|
||||
# Load settings from any .py files in the global conf.d directory specified in
|
||||
# the environment, defaulting to /etc/awx/conf.d/.
|
||||
settings_dir = os.environ.get('AWX_SETTINGS_DIR', '/etc/awx/conf.d/')
|
||||
# the environment, defaulting to /etc/tower/conf.d/.
|
||||
settings_dir = os.environ.get('AWX_SETTINGS_DIR', '/etc/tower/conf.d/')
|
||||
settings_files = os.path.join(settings_dir, '*.py')
|
||||
|
||||
# Load remaining settings from the global settings file specified in the
|
||||
# environment, defaulting to /etc/awx/settings.py.
|
||||
# environment, defaulting to /etc/tower/settings.py.
|
||||
settings_file = os.environ.get('AWX_SETTINGS_FILE',
|
||||
'/etc/awx/settings.py')
|
||||
'/etc/tower/settings.py')
|
||||
|
||||
# Attempt to load settings from /etc/awx/settings.py first, followed by
|
||||
# /etc/awx/conf.d/*.py.
|
||||
# Attempt to load settings from /etc/tower/settings.py first, followed by
|
||||
# /etc/tower/conf.d/*.py.
|
||||
try:
|
||||
include(
|
||||
settings_file,
|
||||
|
||||
Reference in New Issue
Block a user