1
0
mirror of https://github.com/ansible-collections/community.general.git synced 2025-08-01 06:06:57 +03:00

Bug/syslog json exception (#408)

* Adds fix setting options

* Adds changelog
This commit is contained in:
Jose Angel Munoz
2020-05-25 07:47:01 +02:00
committed by GitHub
parent eb941c30b4
commit d1798d3056
2 changed files with 5 additions and 1 deletions

View File

@ -66,7 +66,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"))