Comments (3)
Hi @MaxiReglisse and thanks for reporting this issue!
A few things up front:
- Your Checkmk version is ancient and while we try to be as backwards compatible with this collection, we cannot guarantee it. You definitely want to upgrade your Checkmk.
- The removed checks for the edition, which you mentioned, were removed as they were unnecessary due to restructuring the role, if I recall that correctly. They should not have any impact on your situation.
- Your Ansible installation is also rather old.
- The error message you are getting does not line up with our tests, the task is fine. You might want to check, if the role was somehow modified on your end.
Please take care of the above points and report back, if the issue is still there. Thanks!
from ansible-collection-checkmk.general.
Thanks Robin!
I updated the version of my checkmk server to 2.2.0p22. But the problem was exactly the same... In desperation, I updated the version of Ansible on my deployment server (Ubuntu 22.04) from 2.12.9 to 2.15.9, and miraculously (!), the playbook ran correctly!
Needless to say, I don't understand why the Ansible update corrected the execution of my checkmk_agent.yml playbook... I was still using version 2.12.9 regularly this week on numerous playbooks without encountering any particular difficulties.
Anyway, thanks for inviting me to perform these two updates.
from ansible-collection-checkmk.general.
The error message complained about syntax, so either there was a bug in your version, or we were using a construct, that does not work in that version. As you can see in SUPPORT.md, we do not support this EOL Ansible version for quite some time, which means, we also do not test against it anymore. So to me, it sounds sensible that an update of Ansible helped.
One way or another, the important thing is, that you could solve the issue. :)
So I will close this ticket accordingly.
from ansible-collection-checkmk.general.
Related Issues (20)
- [BUG] activation module with redirect set to true fails if API returns a 302 (possibly only HTTPS) HOT 6
- [BUG] update_attributes on folder with network scan enabled (and a network scan result present) fails HOT 5
- [FEED]Agent download fails in distributed setup HOT 1
- [BUG] Inconsistent behaviour of Ansible modules (update vs remove + compared to API) HOT 10
- [BUG]: reset_password in user module recreates the user HOT 1
- host_tag_group Endpoint changed the parameters id/ident HOT 1
- [BUG] notification rules is not recognized by checkmk.general.rule HOT 3
- [FEED] HOT 2
- [BUG] idempotency of rule fails on datasource_programs ruleset HOT 8
- [BUG] Agent role has unecessary changes, when the agent is already registered and added to CheckMK HOT 2
- [Feature Request] Create Host and Service Groups Rules via Ansible HOT 4
- [BUG] folder creation always lowers the foldername HOT 10
- [Feed] folder lookup plugin does not return the title of the folder HOT 3
- fixed downtime? HOT 4
- [BUG] "Register Agent for TLS" does not allow for "!" in checkmk_agent_auth on Linux HOT 1
- [FEED] Only register agent if host was created on the server or agent was installed HOT 4
- [FEED] Implement module for LDAP Connections
- [BUG] module "folder" not idempotent HOT 10
- [BUG] `discovery` module out of sync with the Checkmk REST API HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-collection-checkmk.general.