syslogger - disable check mode (#63646)
This commit is contained in:
parent
cb0ee51712
commit
dcec3d000e
2 changed files with 2 additions and 5 deletions
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']:
|
||||
|
|
Loading…
Reference in a new issue