From 167a1940a8a6de5cc99048a65a7010f632e1c94a Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 15 Feb 2018 15:56:04 -0500 Subject: [PATCH] and -> or (per George's suggestion) --- roles/network/tasks/computed_network.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/network/tasks/computed_network.yml b/roles/network/tasks/computed_network.yml index 97cd4588e..ee418a81c 100644 --- a/roles/network/tasks/computed_network.yml +++ b/roles/network/tasks/computed_network.yml @@ -46,7 +46,7 @@ wan_netmask: "{{ gui_static_wan_netmask }}" wan_gateway: "{{ gui_static_wan_gateway }}" wan_nameserver: "{{ gui_static_wan_nameserver }}" - when: gui_static_wan + when: gui_static_wan or user_wan_iface != "auto" # we need to have an interface name for ifcfg-WAN to be able to change gateway # the DEVICE from the gui. Thanks to George for proving my point about knowing