From: Christian Heller <c.heller@plomlompom.de>
Date: Sat, 15 Apr 2017 19:58:59 +0000 (+0200)
Subject: Add wifi config to ansible script.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7Bdb.prefix%7D%7D/template?a=commitdiff_plain;h=88c20a0b4acfd2c4926ea702f5f9c28e460f27c5;p=config

Add wifi config to ansible script.
---

diff --git a/ansible/config.yml b/ansible/config.yml
index 9167ee8..8f258a0 100644
--- a/ansible/config.yml
+++ b/ansible/config.yml
@@ -80,6 +80,11 @@
     apt: name={{item}} state=present
     with_lines: cat ~/config/ansible/files/apt-mark/browser_environment | sed -e 's/ *#.*$//'
 
+  # Ensure wifi.
+  - name: ensure browser environment
+    apt: name={{item}} state=present
+    with_lines: cat ~/config/ansible/files/apt-mark/wifi | sed -e 's/ *#.*$//'
+
   # Ensure audio/video consumption necessities.
   - name: ensure multimedia tools
     apt: name={{item}} state=present
diff --git a/ansible/files/apt-mark/wifi b/ansible/files/apt-mark/wifi
new file mode 100644
index 0000000..0d9d93c
--- /dev/null
+++ b/ansible/files/apt-mark/wifi
@@ -0,0 +1,4 @@
+firmware-iwlwifi  # wifi driver
+wicd-cli  # thanks to my own wicd_wrapper.sh should be enough for most stuff
+wicd-curses  # although this currently is very buggy
+wicd-gtk  # workaround for when wicd-curses fails