-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add module to manage general Kea DHCP settings #136
Conversation
Prior to this change, it was not possible to manage the general settings of the Kea DHCP server as it can be done in the Web UI via 'Services->Kea DHCP->Settings'. I.e. it was not possible to configure the interfaces on which the Kea should listen for DHCP requests. This change adds a new module that allows to manage the general settings of the Kea DHCP server. The code can be found in 'plugins/modules/dhcp_general.py' and 'plugins/module_utils/dhcp_general.py'
Alright - I've done some work on the module. Please always:
Would you mind adding the docs? |
I'll add the docs. I'll also try to read a bit into the test code so I am able to provide tests in upcoming PRs. Thanks again for reviewing. |
I just tried to use this module with OPNSense 24.7, but it doesn't seem to be compatible although 24.7 is the latest release (if you exclude 25.1, which was released yesterday). If I interpret the error message correctly, our OPNSense API doesn't seem to return the
|
@ansibleguy Does this work now? |
@jkhsjdhjs I was not able to reproduce the issue. Do you mind opening a separate issue and also provide the specific Ansible-Task & -Config that does not work? |
@ansibleguy Hmm, alright, I will test it again with the merged version in the next days and report back! |
Got it to work by updating to a more recent 24.7 release or 25.1. Seems like my OPNSense version didn't have the |
Prior to this change, it was not possible to manage the general settings of the Kea DHCP server as it can be done in the Web UI via 'Services->Kea DHCP->Settings'. I.e. it was not possible to configure the interfaces on which the Kea should listen for DHCP requests.
This change adds a new module that allows to manage the general settings of the Kea DHCP server. The code can be found in
'plugins/modules/dhcp_general.py' and
'plugins/module_utils/dhcp_general.py'