Giter VIP home page Giter VIP logo

Comments (4)

Shamazo avatar Shamazo commented on May 29, 2024 1

Thank you for the commit :). I tested it and it worked for me.

from ansible-role-nut.

ntd avatar ntd commented on May 29, 2024

What do you mean with "don't configure nut-driver or nut-server"? If you do not configure any UPS, ups.conf will be basically empty.

from ansible-role-nut.

Shamazo avatar Shamazo commented on May 29, 2024

Sorry if I was unclear, I only started using NUT a few days ago.

My understanding is that in netclient mode ups.conf does not need to be updated (since no ups is attached to the client) and the nut-driver and nut-server services do not need to be running, only nut-monitor.

from ansible-role-nut.

ntd avatar ntd commented on May 29, 2024

ups.conf does not need to be updated

This would break the "idempotent" contract of ansible. Furthermore, if the service is not started, then the configuration files are ignored anyway.

nut-driver and nut-server services do not need to be running

Actually you can disable or enable all 3 services together with nut_enable_services. Allowing which service should be enabled could be useful though, so I just pushed a e4e395a in the dev branch to add this feature.

In tests/test.yml file I just added a NetClient only mode example that should be similar to what you want: could you test it please?

from ansible-role-nut.

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.