Change default stdout temp directory

* Use /var/lib/awx on production configurations
* Use /tmp for development configurations
This commit is contained in:
Matthew Jones 2015-07-22 16:31:43 -04:00
parent 2a6600fb42
commit d9f5dee773
2 changed files with 4 additions and 1 deletions

View File

@ -566,8 +566,9 @@ FACT_CACHE_PORT = 6564
ORG_ADMINS_CAN_SEE_ALL_USERS = True
# Control when we display stdout and where to store the temporary files for downloading
STDOUT_MAX_BYTES_DISPLAY = 1000000
STDOUT_TEMP_DIR = "/tmp"
STDOUT_TEMP_DIR = "/var/lib/awx/"
# Logging configuration.
LOGGING = {

View File

@ -64,6 +64,8 @@ PASSWORD_HASHERS = (
# Configure a default UUID for development only.
SYSTEM_UUID = '00000000-0000-0000-0000-000000000000'
STDOUT_TEMP_DIR = "/tmp"
# If there is an `/etc/tower/settings.py`, include it.
# If there is a `/etc/tower/conf.d/*.py`, include them.
include(optional('/etc/tower/settings.py'), scope=locals())