Giter Club home page Giter Club logo

Comments (3)

bertvv avatar bertvv commented on August 11, 2024

This role started quite simple and consequently supported only a limited subset of dhcpd's functionality. The more feature-rich it becomes, the harder it is to define some YAML translation of the dhcpd.conf that then needs to be translated back into the original form. I think this strategy is a dead end and sooner or later, it becomes infeasible to implement new feature requests. Frankly, I think we're already getting to the limits of what is feasible.

However, what I do think is a possibility is to allow the user to write a custom .conf file that will be included in the dhcpd.conf, either inline, or by using the include directive. It can even be a template so you can still use variables in the custom configuration. This would be relatively easy to implement and allows you to include arbitrary configuration settings.

Would this be a suitable solution to your use case?

from ansible-role-dhcp.

minitriga avatar minitriga commented on August 11, 2024

Thank you for the response @bertvv. I think that a custom .conf file would be a pretty good idea. I will see if I can implement something like this to test it out. Not sure my ansible skills are up to scratch but I'm sure I can figure it out.

Thank you for the advice.

from ansible-role-dhcp.

blofeldthefish avatar blofeldthefish commented on August 11, 2024

Added in #29 by @minitriga

from ansible-role-dhcp.

Related Issues (19)

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.