Commit b03b7892 by James Cammarata

Fix method of exiting task loop (v2)

parent d0d0e993
......@@ -226,7 +226,7 @@ class StrategyModule(StrategyBase):
# FIXME: this should also be moved to the base class in a method
included_files = []
for res in host_results:
if res.is_failed():
if res._host in self._tqm._failed_hosts:
return 1
if res._task.action == 'include':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment