9b0ad40354
You can enable installation of DHCP relay instead of the server via 'dhcpd_mode' variable. By default, relays send the packets to their network gateway, but that might not be what you really want; however selection of correct DHCP server can be performed by specifying it in 'dhcpd_relay_servers' list.
13 lines
193 B
YAML
13 lines
193 B
YAML
---
|
|
|
|
- name: Restart isc-dhcp-server
|
|
service:
|
|
name: 'isc-dhcp-server'
|
|
state: 'restarted'
|
|
|
|
- name: Restart isc-dhcp-relay
|
|
service:
|
|
name: 'isc-dhcp-relay'
|
|
state: 'restarted'
|
|
|