- name: ensure wifi configuration
apt: name={{item}} state=present
with_lines: cat ~/config/ansible/files/apt-mark_new/minimal/wifi | sed -e 's/ *#.*$//'
+ with_lines: cat ~/config/ansible/files/apt-mark_new/X200s/wifi | sed -e 's/ *#.*$//'
#- name: ensure wicd
# apt: name={{item}} state=present
# with_lines: cat ~/config/ansible/files/apt-mark_new/W530/wicd | sed -e 's/ *#.*$//'
ensure_wifi_on
iw dev "$wifi_interface" connect "${2}"
#dhclient "$wifi_interface"
+ #ip route delete default
+ #ip route add default via 192.168.1.1 dev wls1
elif [ "${1}" = 'wifi_connect_wep_ascii' ]; then
ensure_wifi_on