From 6b0b89aac02f0c288821ffb7d268b1daeabba696 Mon Sep 17 00:00:00 2001 From: John Spray Date: Mon, 23 May 2016 12:13:47 +0100 Subject: [PATCH] task/ansible: disable color output This was messing up all logs with ANSI codes. Signed-off-by: John Spray --- teuthology/task/ansible.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teuthology/task/ansible.py b/teuthology/task/ansible.py index b6cb9fbd84..d873a39590 100644 --- a/teuthology/task/ansible.py +++ b/teuthology/task/ansible.py @@ -246,6 +246,7 @@ class Ansible(Task): environ['ANSIBLE_SSH_PIPELINING'] = '1' environ['ANSIBLE_FAILURE_LOG'] = self.failure_log.name environ['ANSIBLE_ROLES_PATH'] = "%s/roles" % self.repo_path + environ['ANSIBLE_NOCOLOR'] = "1" args = self._build_args() command = ' '.join(args) log.debug("Running %s", command) -- 2.39.5