This commit is contained in:
parent
d089ed821a
commit
874ff1094e
@ -167,8 +167,9 @@ class CallbackModule(CallbackBase):
|
||||
|
||||
hosts = sorted(stats.processed.keys())
|
||||
|
||||
t = prettytable.PrettyTable(['Host', 'Ok', 'Changed', 'Unreachable',
|
||||
'Failures', 'Rescued', 'Ignored'])
|
||||
t = prettytable.PrettyTable(['Host and state'] )
|
||||
#, 'Ok', 'Changed', 'Unreachable',
|
||||
# 'Failures', 'Rescued', 'Ignored'])
|
||||
|
||||
failures = False
|
||||
unreachable = False
|
||||
@ -181,7 +182,8 @@ class CallbackModule(CallbackBase):
|
||||
if s['unreachable'] > 0:
|
||||
unreachable = True
|
||||
|
||||
t.add_row([h] + [s[k] for k in ['ok', 'changed', 'unreachable',
|
||||
t.add_row([h] )
|
||||
t.add_row( [s[k] for k in ['ok', 'changed', 'unreachable',
|
||||
'failures', 'rescued', 'ignored']])
|
||||
|
||||
msg = []
|
||||
|
Loading…
Reference in New Issue
Block a user