mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Don't stop executing plays after failure.
https://github.com/ansible/ansible/pull/13750/files
This commit is contained in:
committed by
James Cammarata
parent
ba89b2a095
commit
e193e80f04
@@ -154,10 +154,10 @@ class PlaybookExecutor:
|
||||
# save the unreachable hosts from this batch
|
||||
self._unreachable_hosts.update(self._tqm._unreachable_hosts)
|
||||
|
||||
# if the last result wasn't zero or 3 (some hosts were unreachable),
|
||||
# break out of the serial batch loop
|
||||
if result not in (0, 3):
|
||||
break
|
||||
# if the last result wasn't zero or 3 (some hosts were unreachable),
|
||||
# break out of the serial batch loop
|
||||
if result not in (0, 3):
|
||||
break
|
||||
|
||||
i = i + 1 # per play
|
||||
|
||||
|
||||
Reference in New Issue
Block a user