mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
clean debug output to match prev versions
This commit is contained in:
@@ -140,6 +140,12 @@ class CallbackBase:
|
||||
else:
|
||||
self.v2_playbook_item_on_ok(newres)
|
||||
|
||||
def _clean_results(self, result, task_name):
|
||||
if 'changed' in result and task_name in ['debug']:
|
||||
del result['changed']
|
||||
if 'invocation' in result and task_name in ['debug']:
|
||||
del result['invocation']
|
||||
|
||||
def set_play_context(self, play_context):
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user