Added DHCP IPv4 only Fix
This commit is contained in:
parent
15da96ac3f
commit
abf2c7f80b
@ -182,6 +182,12 @@
|
|||||||
- name: Add cron static DHCP
|
- name: Add cron static DHCP
|
||||||
cron: name=StaticDHCP minute="*" job="/opt/freifunk/static-dhcp/dhcp-update.sh"
|
cron: name=StaticDHCP minute="*" job="/opt/freifunk/static-dhcp/dhcp-update.sh"
|
||||||
when: dhcpd.changed
|
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
|
- name: Restart dhcpd
|
||||||
service: name=isc-dhcp-server state=restarted
|
service: name=isc-dhcp-server state=restarted
|
||||||
when: dhcpd.changed
|
when: dhcpd.changed
|
||||||
|
Loading…
Reference in New Issue
Block a user