From 01c2ecbab8605b8cee2152dcdb03c9b0d5341b5c Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Tue, 31 Oct 2017 17:30:55 -0500 Subject: [PATCH] big hammer on bridging --- roles/network/tasks/detected_network.yml | 28 ++++++++++++++---------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/roles/network/tasks/detected_network.yml b/roles/network/tasks/detected_network.yml index cdd73cc98..eb0e50500 100644 --- a/roles/network/tasks/detected_network.yml +++ b/roles/network/tasks/detected_network.yml @@ -141,20 +141,26 @@ iiab_lan_iface: "{{ discovered_lan_iface }}" when: 'discovered_lan_iface != "none" and num_lan_interfaces == "1"' -- name: For Debian, always use bridging - set_fact: - iiab_lan_iface: br0 - when: 'discovered_lan_iface != "none" and num_lan_interfaces >= "1" and is_debuntu' +# big hammer for now +#- name: For Debian, always use bridging +# set_fact: +# iiab_lan_iface: br0 +# when: 'discovered_lan_iface != "none" and num_lan_interfaces >= "1" and is_debuntu' -- name: 2 or more devices on the LAN - use bridging - set_fact: - iiab_lan_iface: br0 - when: 'discovered_lan_iface != "none" and num_lan_interfaces >= "2" and not is_debian' +#- name: 2 or more devices on the LAN - use bridging +# set_fact: +# iiab_lan_iface: br0 +# when: 'discovered_lan_iface != "none" and num_lan_interfaces >= "2" and not is_debian' -- name: WiFi is on the LAN - use bridging +#- name: WiFi is on the LAN - use bridging +# set_fact: +# iiab_lan_iface: br0 +# when: iiab_wireless_lan_iface != "none" + +- name: in VM disable bridging set_fact: - iiab_lan_iface: br0 - when: iiab_wireless_lan_iface != "none" + iiab_lan_iface: none + when: is_VM is defined # OK try old gw this is a best guess based on what's in # /etc/sysconfig/iiab_wan_device's last state intended to