Merge "Prevent duplicated lines"
This commit is contained in:
commit
33896a157c
@ -140,6 +140,7 @@
|
|||||||
lineinfile:
|
lineinfile:
|
||||||
line: "source /etc/network/interfaces.d/*.cfg"
|
line: "source /etc/network/interfaces.d/*.cfg"
|
||||||
dest: "/etc/network/interfaces"
|
dest: "/etc/network/interfaces"
|
||||||
|
regexp: "^source /etc/network/interfaces.d/.*"
|
||||||
|
|
||||||
- name: Set the host intefaces up
|
- name: Set the host intefaces up
|
||||||
command: "/sbin/ifup {{ item.value.iface }}"
|
command: "/sbin/ifup {{ item.value.iface }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user