Coder Social home page Coder Social logo

Deprecation Warning about ansible-snmpd HOT 11 CLOSED

oefenweb avatar oefenweb commented on July 28, 2024
Deprecation Warning

from ansible-snmpd.

Comments (11)

tersmitten avatar tersmitten commented on July 28, 2024

I don't really understand the warning. Is is about this line?

from ansible-snmpd.

crazydisi avatar crazydisi commented on July 28, 2024

Hi tersmitten,

its not only that line

found a second one

[DEPRECATION WARNING]: Using bare variables is deprecated. Update your playbooks so that the environment value uses the full variable syntax ('{{snmpd_install}}'). This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

If i understand the warning correct ( https://docs.ansible.com/ansible/porting_guide_2.0.html )
it should be this one

When specifying complex args as a variable, the variable must use the full jinja2 variable syntax ({{var_name}}) - bare variable names there are no longer accepted. In fact, even specifying args with variables has been deprecated, and will not be allowed in future versions:

So maybe you just need to put some {{}} around it. i can test this in a few Minutes at our stage environment.

from ansible-snmpd.

tersmitten avatar tersmitten commented on July 28, 2024

OK that would be nice, but that's not backwards compatible isn't it?

from ansible-snmpd.

crazydisi avatar crazydisi commented on July 28, 2024

Nope, im unsure of it need to run some tests but i created a pull request for the current issue

from ansible-snmpd.

tersmitten avatar tersmitten commented on July 28, 2024

Than we'll know it soon :-)

from ansible-snmpd.

tersmitten avatar tersmitten commented on July 28, 2024

Fingers crossed

from ansible-snmpd.

crazydisi avatar crazydisi commented on July 28, 2024

Hmm im not sure why the build is failing but i think it has something todo with how you check if it was successful ...?

from ansible-snmpd.

tersmitten avatar tersmitten commented on July 28, 2024

Yes, it's the idempotence check that fail, what happens if you provision twice, does it tails you that something is changed?

from ansible-snmpd.

crazydisi avatar crazydisi commented on July 28, 2024

nope work at my ansible version like it should. What exactly is this idempotence test?

from ansible-snmpd.

tersmitten avatar tersmitten commented on July 28, 2024

Provisioning twice, expecting the second run to do (change) nothing

from ansible-snmpd.

crazydisi avatar crazydisi commented on July 28, 2024

ah ok, didn't know that :D

So like i said the second and further runs don't change anything. So its quite stable at on my side

from ansible-snmpd.

Related Issues (8)

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.