mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
fixed diff output to be as it was in 1.x, copy and template now use the same
functions to do difs.
This commit is contained in:
@@ -109,3 +109,7 @@ class CallbackModule(CallbackBase):
|
||||
msg = "PLAY [%s]" % name
|
||||
|
||||
self._display.banner(msg)
|
||||
|
||||
def v2_on_file_diff(self, result):
|
||||
if 'diff' in result._result:
|
||||
self._display.display(self._get_diff(result._result['diff']))
|
||||
|
||||
Reference in New Issue
Block a user