Make sure that /var/lib/dhcp/dhcpd6.leases exists
This commit is contained in:
parent
48c658bbdf
commit
f34a60a7cc
@ -36,3 +36,7 @@
|
|||||||
notify: [ 'Restart isc-dhcp-server' ]
|
notify: [ 'Restart isc-dhcp-server' ]
|
||||||
when: dhcpd_mode == 'server'
|
when: dhcpd_mode == 'server'
|
||||||
|
|
||||||
|
- name: Make sure that IPv6 lease file exists
|
||||||
|
command: touch /var/lib/dhcp/dhcpd6.leases creates=/var/lib/dhcp/dhcpd6.leases
|
||||||
|
when: dhcpd_ipversion == '6'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user