From f8d7c1ddadee27960a52895a096575d65721bda8 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Wed, 22 Nov 2017 14:01:40 -0600 Subject: [PATCH] add not wan_in_interfaces check before cobbering /etc/network/interfaces --- roles/network/tasks/debian.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/network/tasks/debian.yml b/roles/network/tasks/debian.yml index 6e676c2f4..0e0c409e0 100644 --- a/roles/network/tasks/debian.yml +++ b/roles/network/tasks/debian.yml @@ -67,7 +67,7 @@ - name: Copy the bridge script for has_NM template: dest=/etc/network/interfaces src=network/systemd.j2 - when: has_NM and iiab_lan_iface == "br0" + when: has_NM and not wan_in_interfaces and iiab_lan_iface == "br0" # or provide keyfile layout like the XO's used way back.