[BUG] discovery
module uses deprecated parameter mode
#709
Labels
module:discovery
This affects the discovery module
discovery
module uses deprecated parameter mode
#709
Describe the bug
The formerly deprecated Checkmk REST API parameter
mode
for the bulk service discovery is removed in Checkmk 2.4.0, hence the newly introducedoptions
parameter has to be used by thediscovery
module.Component Name
Component Name: discovery
Ansible Version
$ ansible --version
Checkmk Version and Edition
2.4.0
Collection Version
$ ansible-galaxy collection list
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The module should detect the Checkmk version and use
mode
andoptions
accordingly.Actual behavior
The module fails.
Minimum reproduction example
See the linked GitHub Actions run above.
Additional context
The text was updated successfully, but these errors were encountered: