-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] tribe29.checkmk.host is not idempotent #58
Comments
Thanks for reporting this! |
I installed the devel collection using |
HI @xenorites and thanks for your patience. What you did should work, but we released v0.4.0 yesterday, so you might want to check that one. If the issue then still persists, I will hand this over to a developer to take a look. |
Confirmed, the error does remain the same at this point. |
Okay, thank you for testing again. I just received word, that some related bugs in Checkmk have been fixed, and the fixes will be present in Checkmk 2.1.0p5. This release is expected within two weeks, so I want to ask you again to check against that release once it is out. Thanks! |
could not confirm that this bug is solved :( I'm using check-mk version 2.1.0p6 and collection version 0.5.0 and the host module is still not idempotent, this time because of the leading slash... |
As a temporary solution you can add @robin-tribe29 The agent role has this line in main.yml, if a fix is implemented in the module itself this line will be redundant and should also be removed. |
Fixed with #147 |
Describe the bug
When running the tribe29.checkmk.host for a host that already exists in check_mk (with
state: present
) the module returns an error.Component Name
tribe29.checkmk.host
Ansible Version
Checkmk Version
Collection Version
Expected behavior
Ansible should return an "OK" status for idempotency.
Actual behavior
Ansible returns an error:
The text was updated successfully, but these errors were encountered: