Comments (3)
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.
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.
Added in #29 by @minitriga
from ansible-role-dhcp.
Related Issues (19)
- Variable global_domain_name is only accepted when twice quoted
- Install include task fails HOT 1
- Using multiple domain_search in subnets is not possible HOT 1
- Add support for fixed address hosts in subnets HOT 3
- Add pools within subnets
- Please create a new release with 2.2.0 version for ansible galaxy HOT 2
- Need to define network device in /etc/defaults HOT 1
- Make interfaces configurable HOT 3
- Package name changed in RHEL/Centos 8 HOT 2
- When using ansible with root account verification fails HOT 2
- Support shared networks HOT 1
- Link achter testplaybook in README (master)
- Add 'failover_peer' key to 'pool' directive in README.md file
- Fout in voorbeeld testplaybook HOT 1
- version 3.0.3 not resolvable via galaxy install HOT 1
- Issue in etc_dhcp_dhcpd.conf.j2 template
- IPv6 / dhcp6.conf support is missing HOT 1
- captive portal options HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-dhcp.