mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixed bad condition hiding results
This commit is contained in:
parent
ef7e2f7fbc
commit
65c373c55a
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ class StrategyBase:
|
|||
if self._diff:
|
||||
self._tqm.send_callback('v2_on_file_diff', task_result)
|
||||
|
||||
if original_task.action in ['include', 'include_role']:
|
||||
if original_task.action not in ['include', 'include_role']:
|
||||
self._tqm._stats.increment('ok', original_host.name)
|
||||
if 'changed' in task_result._result and task_result._result['changed']:
|
||||
self._tqm._stats.increment('changed', original_host.name)
|
||||
|
|
Loading…
Reference in a new issue