mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 04:11:25 -07:00
fix localized set options in callbacks
signature changed but callbacks overriding it were not updated fixes #33006
This commit is contained in:
parent
84117e57ba
commit
53cbc9f6ee
4 changed files with 8 additions and 9 deletions
|
@ -89,9 +89,9 @@ class CallbackModule(CallbackBase):
|
|||
# than 1 simultaneous playbooks running
|
||||
self.guid = uuid.uuid4().hex[:6]
|
||||
|
||||
def set_options(self, options):
|
||||
def set_options(self, task_keys=None, var_options=None, direct=None):
|
||||
|
||||
super(CallbackModule, self).set_options(options)
|
||||
super(CallbackModule, self).set_options(task_keys=task_keys, var_options=var_options, direct=direct)
|
||||
|
||||
self.webhook_url = self._plugin_options['webhook_url']
|
||||
self.channel = self._plugin_options['channel']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue