mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-09-10 07:01:06 -07:00
Fix method of exiting task loop (v2)
This commit is contained in:
parent
d0d0e9933f
commit
b03b7892f8
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ class StrategyModule(StrategyBase):
|
||||||
# FIXME: this should also be moved to the base class in a method
|
# FIXME: this should also be moved to the base class in a method
|
||||||
included_files = []
|
included_files = []
|
||||||
for res in host_results:
|
for res in host_results:
|
||||||
if res.is_failed():
|
if res._host in self._tqm._failed_hosts:
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
if res._task.action == 'include':
|
if res._task.action == 'include':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue