Albert van der Land

Results 5 comments of Albert van der Land

While testing, I had set the cacheonly parameter to true, but then it complained that the cache was empty, and the task would still fail... `fatal: [vm]: FAILED! => {"changed":...

It seems that the `disablerepo` parameter does what I want. I've added a new variable, `node_exporter_offline`, which then disables the repos if true.

I do think the previous commit https://github.com/prometheus-community/ansible/commit/b41c938919a749c9adcdeba6b29f552ae6cca531 is a better solution though... we shouldnt even have to run yum commands if the package is already installed

created new issue: https://github.com/ansible/ansible/issues/81847