1
0
Fork 0
mirror of https://github.com/ansible-collections/ansible.posix.git synced 2026-02-04 08:01:49 +00:00

Improve callback output to align header with roles, tasks and play RECAP

This commit is contained in:
John 2022-09-20 14:38:08 -07:00 committed by Hideki Saito
parent 0821768bcb
commit afa724ba8a
No known key found for this signature in database
GPG key ID: 3E1D43AA010AC50A
4 changed files with 14 additions and 3 deletions

View file

@ -193,7 +193,10 @@ class CallbackModule(CallbackBase):
self._display_tasktime()
def playbook_on_stats(self, stats):
self._display_tasktime()
# Align summary report header with other callback plugin summary
self._display.banner("TASKS RECAP")
self._display.display(tasktime())
self._display.display(filled("", fchar="="))
timestamp(self)