fixed bad condition hiding results

pull/17448/head
Brian Coca 8 years ago
parent ef7e2f7fbc
commit 65c373c55a

@ -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…
Cancel
Save