syslogger - disable check mode (#63646)
This commit is contained in:
2
changelogs/fragments/syslogger-disable-check-mode.yaml
Normal file
2
changelogs/fragments/syslogger-disable-check-mode.yaml
Normal file
@ -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(
|
||||
argument_spec=module_args,
|
||||
supports_check_mode=True
|
||||
)
|
||||
|
||||
result = dict(
|
||||
@ -141,10 +140,6 @@ def run_module():
|
||||
msg=module.params['msg']
|
||||
)
|
||||
|
||||
# basically, do nothing.
|
||||
if module.check_mode:
|
||||
return result
|
||||
|
||||
# do the logging
|
||||
try:
|
||||
if module.params['log_pid']:
|
||||
|
||||
Reference in New Issue
Block a user