diff --git a/roles/network/tasks/computed_network.yml b/roles/network/tasks/computed_network.yml index 85d4e8379..0ff415e57 100644 --- a/roles/network/tasks/computed_network.yml +++ b/roles/network/tasks/computed_network.yml @@ -1,7 +1,7 @@ # just lie about active gateway present on XOs to suppress ifcfg-WAN # auto-creation/moving with XOs using NM/system-connections/ via keyfile. # ifcfg-rh acts on /etc/sys*/net*/ifcfg-* where we search for devices. -- name: Setting XO has wifi gateway +- name: Setting XO has WiFi gateway set_fact: user_wan_iface: "{{ discovered_wan_iface }}" when: discovered_wan_iface != "none" and xo_model != "none" and has_ifcfg_gw == "none" @@ -64,7 +64,7 @@ # gui wants LanController # keeps ifcfg-WAN but onboot=no # the change over might be a little bumpy ATM. -- name: Setting GUI wants LanController +- name: Setting GUI wants 'LanController' set_fact: device_gw: "none" user_wan_iface: "none" @@ -114,17 +114,17 @@ user_wan_iface: "{{ discovered_lan_iface }}" when: num_lan_interfaces == "1" and user_lan_iface == "auto" and user_wan_iface == "auto" -- name: No LAN configured - Appliance mode +- name: No LAN configured - 'Appliance' mode set_fact: iiab_network_mode: "Appliance" when: iiab_lan_iface == "none" -- name: LAN configured - LanController mode +- name: LAN configured - 'LanController' mode set_fact: iiab_network_mode: "LanController" when: iiab_lan_iface != "" and iiab_wan_iface == "none" -- name: LAN configured - Gateway mode +- name: LAN configured - 'Gateway' mode set_fact: iiab_network_mode: "Gateway" when: iiab_lan_iface != "none" and iiab_wan_iface != "none"