add another method
This commit is contained in:
parent
9fdf95568a
commit
29124b9727
@ -21,10 +21,9 @@ class CallbackModule(CallbackBase):
|
|||||||
self._display.display(self.CALLBACK_NAME, color=C.COLOR_OK)
|
self._display.display(self.CALLBACK_NAME, color=C.COLOR_OK)
|
||||||
self._display.display("Custom commands for <v2_playbook_on_start> go here", color=C.COLOR_OK)
|
self._display.display("Custom commands for <v2_playbook_on_start> go here", color=C.COLOR_OK)
|
||||||
|
|
||||||
gvm = playbook.get_variable_manager()
|
# access extra vars
|
||||||
extra_vars = gvm.extra_vars
|
extra_vars = self._options.extra_vars
|
||||||
self.job_status_url = extra_vars['target_endpoint']
|
job_status_url = extra_vars['job_status_url']
|
||||||
|
|
||||||
|
|
||||||
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user