1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

dont show failed key on debug

This commit is contained in:
Brian Coca 2017-07-12 14:26:19 -04:00
parent 74947168e3
commit c2326aef01

View file

@ -209,7 +209,7 @@ class CallbackBase:
def _clean_results(self, result, task_name):
if task_name in ['debug']:
for remove_key in ('changed', 'invocation'):
for remove_key in ('changed', 'invocation', 'failed'):
if remove_key in result:
del result[remove_key]