mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
make callbacks modular
This commit is contained in:
parent
798c35d83e
commit
3017dc92d9
3 changed files with 143 additions and 42 deletions
|
@ -127,6 +127,7 @@ def main(args):
|
|||
pb.run()
|
||||
hosts = sorted(pb.stats.processed.keys())
|
||||
print callbacks.banner("PLAY RECAP")
|
||||
playbook_cb.on_stats(pb.stats)
|
||||
for h in hosts:
|
||||
t = pb.stats.summarize(h)
|
||||
print "%-30s : %s %s %s %s " % (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue