Git Product home page Git Product logo

Comments (8)

diademiemi avatar diademiemi commented on June 21, 2024 1

As a temporary solution you can add
failed_when: checkmk_agent_create_result.failed is true and "The host is already part of the specified target folder" not in checkmk_agent_create_result.msg to the task. This will make it not fail if the host is already created.

@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.

from ansible-collection-checkmk.general.

robin-checkmk avatar robin-checkmk commented on June 21, 2024

Thanks for reporting this!
This is probably a duplicate of #41.
Please test this with our 'devel' branch.
A release of the collection will happen in approx. two weeks.

from ansible-collection-checkmk.general.

xenorites avatar xenorites commented on June 21, 2024

I installed the devel collection using ansible-galaxy collection install git+https://github.com/tribe29/ansible-collection-tribe29.checkmk.git,devel --force, but the error message remains the exact same. Any way for me to confirm that it installed the collection from git? The version number remains the same, so it's hard to tell.

from ansible-collection-checkmk.general.

robin-checkmk avatar robin-checkmk commented on June 21, 2024

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.

from ansible-collection-checkmk.general.

xenorites avatar xenorites commented on June 21, 2024

Confirmed, the error does remain the same at this point.

from ansible-collection-checkmk.general.

robin-checkmk avatar robin-checkmk commented on June 21, 2024

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!

from ansible-collection-checkmk.general.

cmasopust avatar cmasopust commented on June 21, 2024

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...

from ansible-collection-checkmk.general.

lgetwan avatar lgetwan commented on June 21, 2024

Fixed with #147

from ansible-collection-checkmk.general.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.