mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07: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:
parent
c56a304ad9
commit
5d1d9f1505
6 changed files with 97 additions and 57 deletions
|
@ -75,3 +75,7 @@ class CallbackModule(CallbackBase):
|
|||
|
||||
def v2_runner_on_unreachable(self, result):
|
||||
self._display.display("%s | UNREACHABLE!" % result._host.get_name(), color='yellow')
|
||||
|
||||
def v2_on_file_diff(self, result):
|
||||
if 'diff' in result._result:
|
||||
self._display.display(self._get_diff(result._result['diff']))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue