summaryrefslogtreecommitdiff
path: root/zuul/ansible/callback
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2017-07-17 17:37:47 -0500
committerMonty Taylor <mordred@inaugust.com>2017-07-17 17:46:49 -0500
commit5ddb26a0cafeac911ecb6fb3f2769f816196559c (patch)
tree5511b8a6f2226b5720b30c08a0421efb13645e27 /zuul/ansible/callback
parent83509426c83f48735d3553ed5ce19041462318bf (diff)
downloadzuul-5ddb26a0cafeac911ecb6fb3f2769f816196559c.tar.gz
Only output result details on error
We have the full json output if we need it which contains all of the results - but in most cases we do not need the full result dict on success and it makes reading logs quite noisy. (hi stat) Change-Id: I153bcdf0ff4826d34bc83c68ac1cefc4d264da01
Diffstat (limited to 'zuul/ansible/callback')
-rw-r--r--zuul/ansible/callback/zuul_stream.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/zuul/ansible/callback/zuul_stream.py b/zuul/ansible/callback/zuul_stream.py
index cc979f2e4..e9f969a83 100644
--- a/zuul/ansible/callback/zuul_stream.py
+++ b/zuul/ansible/callback/zuul_stream.py
@@ -312,8 +312,7 @@ class CallbackModule(default.CallbackModule):
else:
self._log_message(
result=result,
- status=status,
- result_dict=result_dict)
+ status=status)
elif 'results' in result_dict:
for res in result_dict['results']:
self._log_message(
@@ -342,7 +341,6 @@ class CallbackModule(default.CallbackModule):
self._log_message(
result=result,
msg="Item: {item}".format(item=result_dict['item']),
- result_dict=result_dict,
status=status)
else:
self._log_message(