Fix Debian's evil source in /e/n/interfaces
This commit is contained in:
parent
2656fff4d3
commit
ee0e0c9696
|
@ -43,6 +43,15 @@
|
|||
- Restart dnsmasq
|
||||
|
||||
|
||||
|
||||
- name: Fix evil Debian default /etc/network/interfaces
|
||||
lineinfile:
|
||||
dest: /etc/network/interfaces
|
||||
regexp: 'source.*interfaces.d'
|
||||
line: 'source-directory /etc/network/interfaces.d'
|
||||
backup: yes
|
||||
|
||||
|
||||
- name: dnsmasq should use /etc/resolv.conf
|
||||
lineinfile:
|
||||
path: /etc/default/dnsmasq
|
||||
|
|
Loading…
Reference in a new issue