From 0e7fcb239eee1f7cad9ca644fd0d7c41d955e9f2 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Tue, 8 Jul 2014 14:35:43 -0400 Subject: [PATCH] Fix an issue where we wouldn't attempt to color job output in production environments --- awx/settings/defaults.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/awx/settings/defaults.py b/awx/settings/defaults.py index e9902ab279..fac3a1697d 100644 --- a/awx/settings/defaults.py +++ b/awx/settings/defaults.py @@ -310,6 +310,10 @@ ANSIBLE_HOST_KEY_CHECKING = False # slow. ANSIBLE_PARAMIKO_RECORD_HOST_KEYS = False +# Force ansible in color even if we don't have a TTY so we can properly colorize +# output +ANSIBLE_FORCE_COLOR = True + # Additional environment variables to be passed to the subprocess started by # the celery task. AWX_TASK_ENV = {}