mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07: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:
parent
22f3aef4dc
commit
a2f76c1c69
3 changed files with 7 additions and 9 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue