From 6a4d0aa7459a712aa7eb7f8fcfddeb3459458b25 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 30 Jun 2017 15:58:42 -0500 Subject: [PATCH] Don't try to split localhost log lines They don't come with timestamps. Change-Id: I20f84929a5ca7b075b88db3029c51c6bbba6f8d0 --- zuul/ansible/callback/zuul_stream.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zuul/ansible/callback/zuul_stream.py b/zuul/ansible/callback/zuul_stream.py index e3d1e14f45..6a7007ac01 100644 --- a/zuul/ansible/callback/zuul_stream.py +++ b/zuul/ansible/callback/zuul_stream.py @@ -201,8 +201,7 @@ class CallbackModule(default.CallbackModule): stdout_lines = zuul_filter_result(result._result) if is_localhost: for line in stdout_lines: - ts, ln = (x.strip() for x in line.split(' | ', 1)) - self._log("localhost | %s " % ln, ts=ts) + self._log("localhost | %s " % line.strip()) def v2_runner_on_failed(self, result, ignore_errors=False): self._process_result_for_localhost(result)