Compare commits
2 Commits
ddf5be282a
...
f0df13fa0e
Author | SHA1 | Date | |
---|---|---|---|
f0df13fa0e | |||
0d506efc46 |
@ -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 = 'this doesnt matter'
|
CALLBACK_NAME = 'job_status'
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
super(CallbackModule, self).__init__()
|
super(CallbackModule, self).__init__()
|
||||||
@ -24,8 +24,3 @@ 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