Closed robin-checkmk closed 2 years ago
@lgetwan what do you think? Is there any value in trying to improve the modules in a way that the error message becomes more clear, or would you say the error messages we get are good enough? I tend to lean towards leaving it as it is, because adding some kind of checking would add a lot of overhead to each module, while probably not providing that much more value. We can only make sure the error message we get anyway is as good as possible.
Sounds reasonable to me. Let's leave it.
Verify first that your issue is not already reported here. Where possible also test if the latest release and main branch are affected too. Complete all sections as described!
Describe the bug
When running against a non-started site, e.g. the
folder
module fails with an arbitrary error message.Component Name
folder
But affects all modules, probably.
Ansible Version
Checkmk Version
Collection Version
Environment
Ubuntu 20.04
To Reproduce Steps to reproduce the behavior:
Expected behavior
A clear error message is printed, that the site is not running.
Actual behavior
The module prints an arbitrary error message.
Screenshots
Additional context