syslogger - disable check mode (#63646)

This commit is contained in:
Sam Doran 2019-10-18 13:01:03 -04:00 committed by Brian Coca
parent cb0ee51712
commit dcec3d000e
2 changed files with 2 additions and 5 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- syslogger callback plugin - remove check mode support since it did nothing anyway

View file

@ -130,7 +130,6 @@ def run_module():
module = AnsibleModule( module = AnsibleModule(
argument_spec=module_args, argument_spec=module_args,
supports_check_mode=True
) )
result = dict( result = dict(
@ -141,10 +140,6 @@ def run_module():
msg=module.params['msg'] msg=module.params['msg']
) )
# basically, do nothing.
if module.check_mode:
return result
# do the logging # do the logging
try: try:
if module.params['log_pid']: if module.params['log_pid']: