mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
Make on_file_diff callback item-aware
This commit is contained in:
parent
04d74fd680
commit
14e19c239d
4 changed files with 22 additions and 4 deletions
|
@ -221,7 +221,7 @@ class StrategyBase:
|
|||
self._tqm._stats.increment('changed', host.name)
|
||||
self._tqm.send_callback('v2_runner_on_ok', task_result)
|
||||
|
||||
if self._diff and 'diff' in task_result._result:
|
||||
if self._diff:
|
||||
self._tqm.send_callback('v2_on_file_diff', task_result)
|
||||
|
||||
self._pending_results -= 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue