Added DHCP IPv4 only Fix

This commit is contained in:
stebifan 2019-11-01 21:36:29 +01:00
parent 15da96ac3f
commit abf2c7f80b

View File

@ -182,6 +182,12 @@
- name: Add cron static DHCP
cron: name=StaticDHCP minute="*" job="/opt/freifunk/static-dhcp/dhcp-update.sh"
when: dhcpd.changed
- name: Replace interface line ISC-DHCP-server
lineinfile:
dest: /etc/default/isc-dhcp-server
regexp: 'INTERFACESv4='
line: 'INTERFACESv4="br-nodes"'
when: dhcpd.changed
- name: Restart dhcpd
service: name=isc-dhcp-server state=restarted
when: dhcpd.changed