From 88c20a0b4acfd2c4926ea702f5f9c28e460f27c5 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sat, 15 Apr 2017 21:58:59 +0200
Subject: [PATCH] Add wifi config to ansible script.

---
 ansible/config.yml          | 5 +++++
 ansible/files/apt-mark/wifi | 4 ++++
 2 files changed, 9 insertions(+)
 create mode 100644 ansible/files/apt-mark/wifi

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
-- 
2.30.2