From b77ec07581c062fb75349a1f47581fddf0344048 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Thu, 21 Nov 2013 17:08:13 -0500 Subject: [PATCH] Include a sane default location for the job root in the production config --- awx/settings/defaults.py | 4 ---- awx/settings/production.py | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) 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',