mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 11:25:08 -02:30
Include a sane default location for the job root in the production config
This commit is contained in:
@@ -83,10 +83,6 @@ MEDIA_URL = '/media/'
|
|||||||
# This directory should not be web-accessible.
|
# This directory should not be web-accessible.
|
||||||
PROJECTS_ROOT = os.path.join(BASE_DIR, 'projects')
|
PROJECTS_ROOT = os.path.join(BASE_DIR, 'projects')
|
||||||
|
|
||||||
# Absolute filesystem path to the directory for job status stdout
|
|
||||||
# This directory should not be web-accessible
|
|
||||||
JOBOUTPUT_ROOT = os.path.join(BASE_DIR, 'job_status')
|
|
||||||
|
|
||||||
SITE_ID = 1
|
SITE_ID = 1
|
||||||
|
|
||||||
# Make this unique, and don't share it with anybody.
|
# Make this unique, and don't share it with anybody.
|
||||||
|
|||||||
@@ -26,6 +26,10 @@ USE_MINIFIED_JS = True
|
|||||||
# URL used by inventory script and callback plugin to access API.
|
# URL used by inventory script and callback plugin to access API.
|
||||||
INTERNAL_API_URL = 'http://127.0.0.1:80'
|
INTERNAL_API_URL = 'http://127.0.0.1:80'
|
||||||
|
|
||||||
|
# Absolute filesystem path to the directory for job status stdout
|
||||||
|
# This directory should not be web-accessible
|
||||||
|
JOBOUTPUT_ROOT = '/var/lib/awx/job_status/'
|
||||||
|
|
||||||
# Load remaining settings from the global settings file specified in the
|
# Load remaining settings from the global settings file specified in the
|
||||||
# environment, defaulting to /etc/awx/settings.py.
|
# environment, defaulting to /etc/awx/settings.py.
|
||||||
settings_file = os.environ.get('AWX_SETTINGS_FILE',
|
settings_file = os.environ.get('AWX_SETTINGS_FILE',
|
||||||
|
|||||||
Reference in New Issue
Block a user