ansible-dhcpd/handlers/main.yml
Maciej Delmanowski 5014dd8642 Add 'dhcp-probe' support
dhcp-probe script is used to scan the network for unauthorized DHCP
servers.
2015-03-30 13:34:53 +02:00

24 lines
390 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'
- name: Restart dhcp-probe
service:
name: 'dhcp-probe'
state: 'stopped'
notify: [ 'Start dhcp-probe' ]
- name: Start dhcp-probe
service:
name: 'dhcp-probe'
state: 'started'