diff --git a/awx/settings/defaults.py b/awx/settings/defaults.py index 8971ba7d3a..bba562d01c 100644 --- a/awx/settings/defaults.py +++ b/awx/settings/defaults.py @@ -83,10 +83,6 @@ MEDIA_URL = '/media/' # This directory should not be web-accessible. 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 # Make this unique, and don't share it with anybody. diff --git a/awx/settings/production.py b/awx/settings/production.py index 43c457cb4d..d4b402095f 100644 --- a/awx/settings/production.py +++ b/awx/settings/production.py @@ -26,6 +26,10 @@ USE_MINIFIED_JS = True # URL used by inventory script and callback plugin to access API. 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 # environment, defaulting to /etc/awx/settings.py. settings_file = os.environ.get('AWX_SETTINGS_FILE',