Comments (2)
Moinsen Peter! 🙂
Thanks for reporting this. Let me provide some background.
TASK [checkmk.general.agent : Linux: Download Vanilla CRE agent.] **************
changed: [midevansible.company.lan]
At the time of the download, we do not know whether we actually need the file. As the download goes to /tmp
by default, the file will be gone after a reboot. Hence, it gets downloaded after every reboot. If you run the task twice without rebooting, you will see, that the second run yields no change.
TASK [checkmk.general.agent : Linux: Register Agent for TLS.] ******************
changed: [midevansible.company.lan]
This is a ansible.builtin.command
task, which makes it non-trivial to make it idempotent. From the top of mind I am uncertain, if we can use the command output or not. This requires further investigation.
TASK [checkmk.general.agent : Fetch fresh monitoring data from host.] **********
changed: [midevansible.company.lan -> localhost]
This task actually triggers a re-scan of the host, which means, the "changed" state is technically right (which is the best kind of being right 😉)
TASK [checkmk.general.agent : Update monitored services and labels on host.] ***
changed: [midevansible.company.lan -> localhost]
This one might be valid as well. Unless something actually changes. But if you are certain this is not okay, it is probably an issue with the discovery
module and not with the agent role. I would ask you double-check, if you can reproduce the issue with a dedicated task using the discovery
module and if so, open a dedicated issue for the module.
RUNNING HANDLER [checkmk.general.agent : Activate Changes.] ********************
changed: [midevansible.company.lan -> localhost]
Are you sure there are no changes to activate? This one is the same as the last one. If the change detection does not work, it is a problem with the module, and we need a dedicated issue for the activation
module.
from ansible-collection-checkmk.general.
Of course I get why the first 3 are showing up as change. But in my opinion it makes way more sense to use changed_when: false
here, otherwise my play recap is filled up with irrelevant changes (like downloading to tmp or rescanning).
I do not find any way to mute the changes for a role execution. So I guess I have to live with those changed tasks :(
from ansible-collection-checkmk.general.
Related Issues (20)
- [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
- [BUG] Error in the Agent role, Firewall seems to be only installed if checkmk_agent_server is an ip address HOT 3
- [FEED] Configure new web services monitoring HOT 1
- [BUG] rule idempotency check does not work for special_agents:vsphere rules HOT 4
- [BUG] ckeckmk agent deployment not respecting variables HOT 1
- [BUG] Unable to register agent for automatic updates HOT 5
- [BUG] Integration tests for downtime module creates downtime in the past HOT 1
- [BUG] Agent role crashes, when connections file absent HOT 4
- [BUG] InvalidAccessKeyId during installing the collection HOT 1
- Agent TLS registration does not work in disributed monitoring
- [BUG] Skip verifying the ssl cert for setting downtimes HOT 1
- [BUG] update_attribute on folder always results in 'changed' HOT 12
- [FEED] Implement module for DCD Connections
- Ansible trying to use linux shell to execute a powershell command HOT 1
- [BUG] Crash using host module on RHEL 7 and SLES 12 (both using Python2) HOT 9
- [BUG] checkmk.general.agent : Fetch fresh monitoring data from host. Fails for agents queried through SSH.
- [BUG] Agent install fails at "Timeout when waiting for 127.0.0.1:6556" HOT 1
- ansible.builtin.dnf used, while ansible.builtin.yum has more possibilities and compatibility HOT 3
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.