1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix set options in callbacks for foreman

This commit is contained in:
Artem Tiumentcev 2018-03-30 15:29:42 +03:00 committed by Brian Coca
parent 5839f07e0f
commit 082b03c829

View file

@ -90,9 +90,9 @@ class CallbackModule(CallbackBase):
self.items = defaultdict(list)
self.start_time = int(time.time())
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.FOREMAN_URL = self._plugin_options['url']
self.FOREMAN_SSL_CERT = (self._plugin_options['ssl_cert'], self._plugin_options['ssl_key'])