From eab8010b0a86d6a3ed98612dc1d3cbf619e059a6 Mon Sep 17 00:00:00 2001 From: A Holt Date: Fri, 27 Oct 2017 13:13:11 -0400 Subject: [PATCH] cleaner --- roles/network/tasks/computed_network.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/roles/network/tasks/computed_network.yml b/roles/network/tasks/computed_network.yml index 4b4b0f1ef..85d4e8379 100644 --- a/roles/network/tasks/computed_network.yml +++ b/roles/network/tasks/computed_network.yml @@ -20,7 +20,7 @@ iiab_demo_mode: True when: teamviewer_install and not strict_networking -- name: XO wants usb wifi interface as AP mode +- name: XO laptop wants USB WiFi interface as AP mode set_fact: iiab_wireless_lan_iface: "{{ discovered_lan_iface }}" when: num_wifi_interfaces >= "2" and xo_model != "none" and discovered_wan_iface != "none" and discovered_wireless_iface == "eth0" @@ -32,7 +32,7 @@ gui_static_wan_ip: undefined when: gui_static_wan_ip != "unset" and not gui_static_wan -- name: undo gui-static-wan by requesting new template file +- name: Undo gui-static-wan by requesting new template file set_fact: has_WAN: False when: gui_static_wan_ip != "unset" and not gui_static_wan @@ -81,7 +81,7 @@ when: discovered_wan_iface != "none" and num_lan_interfaces == "0" and gui_desired_network_role is defined and gui_desired_network_role == "LanController" # override with user_wan_iface setting if no longer in auto -- name: setting user WAN fact +- name: Setting user WAN fact set_fact: iiab_wan_iface: "{{ user_wan_iface }}" when: user_wan_iface != "auto" @@ -136,11 +136,11 @@ when: 'user_lan_iface != "auto"' # so this works -- name: interface count +- name: Interface count shell: ls /sys/class/net | grep -v -e lo | wc | awk '{print $1}' register: adapter_count -# well if there ever was a point to tell the user thing are FUBAR this is it. +# well if there ever was a point to tell the user things are FUBAR this is it. - name: We're hosed no work interfaces set_fact: iiab_network_mode: "No_network_found"