clean debug output to match prev versions

This commit is contained in:
Brian Coca
2015-12-15 09:27:53 -05:00
parent a0842781a6
commit be5488cb60
3 changed files with 8 additions and 0 deletions

View File

@@ -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