From: John Spray Date: Mon, 23 May 2016 11:13:47 +0000 (+0100) Subject: task/ansible: disable color output X-Git-Tag: 1.1.0~580^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6b0b89aac02f0c288821ffb7d268b1daeabba696;p=teuthology.git task/ansible: disable color output This was messing up all logs with ANSI codes. Signed-off-by: John Spray --- 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)