From 36217b7b3f961052e171589b07b15a1326439c70 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Mon, 14 May 2018 13:22:32 -0500 Subject: [PATCH] allow backout from static to dhcp --- 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 deb2b5e7e..4ec38b22a 100644 --- a/roles/network/tasks/debian.yml +++ b/roles/network/tasks/debian.yml @@ -37,7 +37,7 @@ - name: Copy the bridge script template: dest=/etc/network/interfaces.d/iiab src=network/systemd.j2 - when: not is_rpi and (iiab_lan_iface == "br0" or wan_ip != "dhcp") + when: not is_rpi and (iiab_lan_iface == "br0" or wan_ip != "dhcp" or gui_static_wan_ip == "undefined") - name: Copy the bridge script for RPi template: dest=/etc/network/interfaces.d/iiab