Update plugins/callback/job_status.py

This commit is contained in:
Chris Hammer 2023-11-30 16:13:11 -05:00
parent 03e2af14e1
commit 011780dc74

View File

@ -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 = 'i could literally put anything i fucking wanted to in here and it should work, right??????????????!?!?!?!?!?!? :) :) :)' CALLBACK_NAME = 'YO MOMMA IS SOOOOOO FAT....how fat is she?'
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super(CallbackModule, self).__init__() super(CallbackModule, self).__init__()
@ -26,6 +26,7 @@ class CallbackModule(CallbackBase):
def v2_on_any(self, *args, **kwargs): def v2_on_any(self, *args, **kwargs):
self._display.display("sup, y0?! my name is %s", color=C.COLOR_OK, CALLBACK_NAME) self._display.display("sup, y0?! my name is %s", color=C.COLOR_OK)
self._display.display(CALLBACK_NAME)