properly filter out noise from debug

This commit is contained in:
Brian Coca
2017-07-18 12:29:36 -04:00
parent 58dc6c7882
commit 5ffb40fcdb
2 changed files with 15 additions and 7 deletions

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', 'failed'):
for remove_key in ('changed', 'invocation', 'failed', 'skipped'):
if remove_key in result:
del result[remove_key]