diff --git a/multi-node-aio/playbooks/setup-host.yml b/multi-node-aio/playbooks/setup-host.yml index a7c55afa..e144a426 100644 --- a/multi-node-aio/playbooks/setup-host.yml +++ b/multi-node-aio/playbooks/setup-host.yml @@ -140,6 +140,7 @@ lineinfile: line: "source /etc/network/interfaces.d/*.cfg" dest: "/etc/network/interfaces" + regexp: "^source /etc/network/interfaces.d/.*" - name: Set the host intefaces up command: "/sbin/ifup {{ item.value.iface }}"