Commit a6c8d30f by Gerard Lynch

callbacks require a version constant or the v2 code doesn't pass the display…

callbacks require a version constant or the v2 code doesn't pass the display param and it gives an error
parent 6ba706f7
......@@ -58,7 +58,14 @@ def tasktime():
class CallbackModule(CallbackBase):
"""
This callback module provides per-task timing, ongoing playbook elapsed time
and ordered list of top 20 longest running tasks at end.
"""
CALLBACK_VERSION = 2.0
CALLBACK_TYPE = 'aggregate'
CALLBACK_NAME = 'profile_tasks'
def __init__(self, display):
self.stats = {}
self.current = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment