mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-05-14 05:21:59 +00:00
Improve callback output to align header with roles, tasks and play RECAP
This commit is contained in:
@@ -102,8 +102,8 @@ class CallbackModule(CallbackBase):
|
||||
self._display.display(tasktime())
|
||||
|
||||
def playbook_on_stats(self, stats):
|
||||
self._display.display(tasktime())
|
||||
self._display.display(filled("", fchar="="))
|
||||
# Align summary report header with other callback plugin summary
|
||||
self._display.banner("ROLE RECAP")
|
||||
|
||||
timestamp(self)
|
||||
total_time = sum(self.totals.values())
|
||||
@@ -115,4 +115,4 @@ class CallbackModule(CallbackBase):
|
||||
|
||||
msg_total = u"{0:-<70}{1:->9}".format(u'total ', u' {0:.02f}s'.format(total_time))
|
||||
self._display.display(filled("", fchar="~"))
|
||||
self._display.display(msg_total)
|
||||
self._display.display(msg_total)
|
||||
Reference in New Issue
Block a user