mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #14863 from dagwieers/patch-11
Little improvement in callback flow
This commit is contained in:
commit
664f58d12a
1 changed files with 1 additions and 1 deletions
|
@ -334,8 +334,8 @@ class CallbackBase:
|
|||
self.playbook_on_stats(stats)
|
||||
|
||||
def v2_on_file_diff(self, result):
|
||||
host = result._host.get_name()
|
||||
if 'diff' in result._result:
|
||||
host = result._host.get_name()
|
||||
self.on_file_diff(host, result._result['diff'])
|
||||
|
||||
def v2_playbook_on_include(self, included_file):
|
||||
|
|
Loading…
Reference in a new issue