mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
If all hosts in a play fail, fail the whole playbook and don't bother printing out every remaining task.
This commit is contained in:
@@ -122,9 +122,11 @@ def main(args):
|
||||
print '\n'
|
||||
return 0
|
||||
|
||||
|
||||
try:
|
||||
|
||||
pb.run()
|
||||
|
||||
hosts = sorted(pb.stats.processed.keys())
|
||||
print callbacks.banner("PLAY RECAP")
|
||||
playbook_cb.on_stats(pb.stats)
|
||||
|
||||
Reference in New Issue
Block a user