fixed bad condition hiding results

pull/4420/head
Brian Coca 2016-09-07 12:55:03 -04:00
parent ef7e2f7fbc
commit 65c373c55a
1 changed files with 1 additions and 1 deletions

View File

@ -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)