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:
parent
74947168e3
commit
c2326aef01
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in a new issue