5014dd8642
dhcp-probe script is used to scan the network for unauthorized DHCP servers.
18 lines
465 B
Django/Jinja
18 lines
465 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
# Send mail messages about unauthorized DHCP servers
|
|
alert_program_name2 {{ ansible_local.root.lib + "/dhcp-probe/dhcp_probe_notify2" }}
|
|
|
|
{% if dhcpd_probe_legal_servers|d() and dhcpd_probe_legal_servers %}
|
|
# Legal DHCP servers
|
|
{% for address in dhcpd_probe_legal_servers %}
|
|
legal_server {{ address }}
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
{% if dhcpd_probe_options|d() and dhcpd_probe_options %}
|
|
# Other options
|
|
{{ dhcpd_probe_options }}
|
|
|
|
{% endif %}
|