mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
improve output formating for playbook
This commit is contained in:
parent
3235da074e
commit
7ecdb83800
2 changed files with 4 additions and 4 deletions
|
@ -87,7 +87,7 @@ def main(args):
|
|||
print callbacks.banner("PLAY RECAP")
|
||||
for h in hosts:
|
||||
t = pb.stats.summarize(h)
|
||||
print "%-30s : ok=%4s changed=%4s unreachable=%4s failed=%4s " % (h,
|
||||
print "%-30s : ok=%-4s changed=%-4s unreachable=%-4s failed=%-4s " % (h,
|
||||
t['ok'], t['changed'], t['unreachable'], t['failures']
|
||||
)
|
||||
print "\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue