mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
Backward compatibility execution failures with 1.9
This commit is contained in:
parent
48aa9153f2
commit
ba89b2a095
2 changed files with 3 additions and 4 deletions
|
@ -151,9 +151,8 @@ class PlaybookExecutor:
|
|||
elif len(batch) == failed_hosts_count:
|
||||
break
|
||||
|
||||
# clear the failed hosts dictionaires in the TQM for the next batch
|
||||
# save the unreachable hosts from this batch
|
||||
self._unreachable_hosts.update(self._tqm._unreachable_hosts)
|
||||
self._tqm.clear_failed_hosts()
|
||||
|
||||
# if the last result wasn't zero or 3 (some hosts were unreachable),
|
||||
# break out of the serial batch loop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue