1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

big hammer on bridging

This commit is contained in:
Jerry Vonau 2017-10-31 17:30:55 -05:00
parent e490693dab
commit c1183cc578

View file

@ -141,20 +141,26 @@
iiab_lan_iface: "{{ discovered_lan_iface }}" iiab_lan_iface: "{{ discovered_lan_iface }}"
when: 'discovered_lan_iface != "none" and num_lan_interfaces == "1"' when: 'discovered_lan_iface != "none" and num_lan_interfaces == "1"'
- name: For Debian, always use bridging # big hammer for now
set_fact: #- name: For Debian, always use bridging
iiab_lan_iface: br0 # set_fact:
when: 'discovered_lan_iface != "none" and num_lan_interfaces >= "1" and is_debuntu' # 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 #- name: 2 or more devices on the LAN - use bridging
set_fact: # set_fact:
iiab_lan_iface: br0 # iiab_lan_iface: br0
when: 'discovered_lan_iface != "none" and num_lan_interfaces >= "2" and not is_debian' # 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: set_fact:
iiab_lan_iface: br0 iiab_lan_iface: none
when: iiab_wireless_lan_iface != "none" when: is_VM is defined
# OK try old gw this is a best guess based on what's in # OK try old gw this is a best guess based on what's in
# /etc/sysconfig/iiab_wan_device's last state intended to # /etc/sysconfig/iiab_wan_device's last state intended to