Skip to content
Snippets Groups Projects
Commit 5cf704f4 authored by Maxime Bombar's avatar Maxime Bombar
Browse files

[dhcp] Configure /etc/default/isc-dhcp-server

parent d2176be4
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,14 @@
retries: 3
until: apt_result is succeeded
- name: Configure /etc/default/isc-dhcp-server
template:
src: default/isc-dhcp-server.j2
dest: /etc/default/isc-dhcp-server
mode: 0600
notify:
- restart dhcp server
- name: Configure isc-dhcp-server
template:
src: dhcp/dhcpd.conf.j2
......
# Defaults for isc-dhcp-server (sourced by /etc/init.d/isc-dhcp-server)
# Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
#DHCPDv4_CONF=/etc/dhcp/dhcpd.conf
#DHCPDv6_CONF=/etc/dhcp/dhcpd6.conf
# Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
#DHCPDv4_PID=/var/run/dhcpd.pid
#DHCPDv6_PID=/var/run/dhcpd6.pid
# Additional options to start dhcpd with.
# Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
#OPTIONS=""
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACESv4="{{ dhcp | json_query('subnets[].interface[]') | join(" ") }}"
INTERFACESv6=""
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment