Add create option

This commit is contained in:
dadav 2019-10-03 12:05:04 +02:00
parent cd78b32a53
commit 8d5bdfc7cc

View File

@ -204,6 +204,7 @@
- name: configure lo interface
blockinfile:
path: /etc/network/interfaces.d/lo-cfg
create: yes
block: |
auto lo
iface lo inet loopback
@ -211,6 +212,7 @@
- name: configure wlan interface
blockinfile:
path: /etc/network/interfaces.d/wlan0-cfg
create: yes
block: |
allow-hotplug wlan0
iface wlan0 inet static