syslogger - disable check mode (#63646)

pull/63693/head^2
Sam Doran 5 years ago committed by Brian Coca
parent cb0ee51712
commit dcec3d000e

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

@ -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']:

Loading…
Cancel
Save