|
|
@ -137,10 +137,14 @@ class CallbackModule(CallbackBase):
|
|
|
|
def v2_on_file_diff(self, result):
|
|
|
|
def v2_on_file_diff(self, result):
|
|
|
|
if result._task.loop and 'results' in result._result:
|
|
|
|
if result._task.loop and 'results' in result._result:
|
|
|
|
for res in result._result['results']:
|
|
|
|
for res in result._result['results']:
|
|
|
|
if 'diff' in res:
|
|
|
|
if 'diff' in res and res['diff']:
|
|
|
|
self._display.display(self._get_diff(res['diff']))
|
|
|
|
diff = self._get_diff(res['diff'])
|
|
|
|
|
|
|
|
if diff:
|
|
|
|
|
|
|
|
self._display.display(diff)
|
|
|
|
elif 'diff' in result._result and result._result['diff']:
|
|
|
|
elif 'diff' in result._result and result._result['diff']:
|
|
|
|
self._display.display(self._get_diff(result._result['diff']))
|
|
|
|
diff = self._get_diff(result._result['diff'])
|
|
|
|
|
|
|
|
if diff:
|
|
|
|
|
|
|
|
self._display.display(diff)
|
|
|
|
|
|
|
|
|
|
|
|
def v2_playbook_item_on_ok(self, result):
|
|
|
|
def v2_playbook_item_on_ok(self, result):
|
|
|
|
|
|
|
|
|
|
|
|