Fixes collection.general 407 (#69695)

pull/69409/head
Jose Angel Munoz 6 years ago committed by GitHub
parent 28b99ead44
commit eb2fae7951
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
bugfixes:
- syslog_json callback - fix plugin exception when running (https://github.com/ansible-collections/community.general/issues/407).

@ -67,7 +67,9 @@ class CallbackModule(CallbackBase):
super(CallbackModule, self).__init__()
self.set_options()
def set_options(self, task_keys=None, var_options=None, direct=None):
super(CallbackModule, self).set_options(task_keys=task_keys, var_options=var_options, direct=direct)
syslog_host = self.get_option("server")
syslog_port = int(self.get_option("port"))

Loading…
Cancel
Save