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

computed_network.yml workaround discovered_lan_iface -> discovered_wan_iface

This commit is contained in:
A Holt 2018-01-11 11:41:51 -05:00 committed by GitHub
parent 9a689d8af9
commit 1b86d291b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,7 +111,10 @@
# stick around but testing gateway response is not performed.
- name: User wants single wired interface as static or dhcp gateway
set_fact:
user_wan_iface: "{{ discovered_wan_iface }}" # Jan 2018: discovered_lan_iface was UNDEFINED on WiFi-installed RPi
user_wan_iface: "{{ discovered_wan_iface }}" # Jan 2018: Holt discovered_lan_iface was UNDEFINED on WiFi-installed
# RPi (when re-running ./iiab-network) so "discovered_wan_iface" is a
# workaround -- please see https://github.com/iiab/iiab/pull/649
# This workaround can and should evolve as IIAB 6.5 matures!
when: num_lan_interfaces == "1" and user_lan_iface == "auto" and user_wan_iface == "auto"
- name: No LAN configured - 'Appliance' mode