Compare commits
No commits in common. "f0df13fa0edff20f428a5a585dc5607008420e4b" and "ddf5be282aa4c5bde5f3d69ffbb14b21f1a6cb02" have entirely different histories.
f0df13fa0e
...
ddf5be282a
@ -11,7 +11,7 @@ from ansible.utils.display import Display
|
|||||||
class CallbackModule(CallbackBase):
|
class CallbackModule(CallbackBase):
|
||||||
CALLBACK_VERSION = 2.0
|
CALLBACK_VERSION = 2.0
|
||||||
CALLBACK_TYPE = 'notification'
|
CALLBACK_TYPE = 'notification'
|
||||||
CALLBACK_NAME = 'job_status'
|
CALLBACK_NAME = 'this doesnt matter'
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super(CallbackModule, self).__init__()
|
super(CallbackModule, self).__init__()
|
||||||
@ -24,3 +24,8 @@ class CallbackModule(CallbackBase):
|
|||||||
def v2_playbook_on_task_start(self, task, is_conditional):
|
def v2_playbook_on_task_start(self, task, is_conditional):
|
||||||
self._display.display("Custom commands for <v2_playbook_on_task_start> go here", color=C.COLOR_OK)
|
self._display.display("Custom commands for <v2_playbook_on_task_start> go here", color=C.COLOR_OK)
|
||||||
|
|
||||||
|
|
||||||
|
def v2_on_any(self, *args, **kwargs):
|
||||||
|
self._display.display("ohai", color=C.COLOR_OK)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user