5014dd8642
dhcp-probe script is used to scan the network for unauthorized DHCP servers.
24 lines
390 B
YAML
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'
|
|
|