ansible-dhcpd/handlers/main.yml
Maciej Delmanowski 9b0ad40354 Add support for ISC DHCP Relay
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.
2015-03-27 14:32:44 +01:00

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'