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:
Michael DeHaan 2012-09-30 21:06:00 -04:00
commit a2f76c1c69
3 changed files with 7 additions and 9 deletions

View file

@ -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)