mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
dont show failed key on debug
This commit is contained in:
@@ -209,7 +209,7 @@ class CallbackBase:
|
|||||||
|
|
||||||
def _clean_results(self, result, task_name):
|
def _clean_results(self, result, task_name):
|
||||||
if task_name in ['debug']:
|
if task_name in ['debug']:
|
||||||
for remove_key in ('changed', 'invocation'):
|
for remove_key in ('changed', 'invocation', 'failed'):
|
||||||
if remove_key in result:
|
if remove_key in result:
|
||||||
del result[remove_key]
|
del result[remove_key]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user