Don't stop executing plays after failure.
https://github.com/ansible/ansible/pull/13750/files
This commit is contained in:
parent
c901c9144c
commit
9602e43952
1 changed files with 4 additions and 4 deletions
|
@ -154,10 +154,10 @@ class PlaybookExecutor:
|
||||||
# save the unreachable hosts from this batch
|
# save the unreachable hosts from this batch
|
||||||
self._unreachable_hosts.update(self._tqm._unreachable_hosts)
|
self._unreachable_hosts.update(self._tqm._unreachable_hosts)
|
||||||
|
|
||||||
# if the last result wasn't zero or 3 (some hosts were unreachable),
|
# if the last result wasn't zero or 3 (some hosts were unreachable),
|
||||||
# break out of the serial batch loop
|
# break out of the serial batch loop
|
||||||
if result not in (0, 3):
|
if result not in (0, 3):
|
||||||
break
|
break
|
||||||
|
|
||||||
i = i + 1 # per play
|
i = i + 1 # per play
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue