From 082b03c829fe568e179c7917fd72274ad1db7980 Mon Sep 17 00:00:00 2001 From: Artem Tiumentcev Date: Fri, 30 Mar 2018 15:29:42 +0300 Subject: [PATCH] fix set options in callbacks for foreman --- lib/ansible/plugins/callback/foreman.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/plugins/callback/foreman.py b/lib/ansible/plugins/callback/foreman.py index 97792de240..54559f9244 100644 --- a/lib/ansible/plugins/callback/foreman.py +++ b/lib/ansible/plugins/callback/foreman.py @@ -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'])