From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 22 Mar 2017 00:50:05 +0000 (+0100)
Subject: Reduce X config in Ansible script.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7Bprefix%7D%7D/add_task?a=commitdiff_plain;h=06c1eb9d99218cb9ad8b344259fa1152679f6136;p=config

Reduce X config in Ansible script.
---

diff --git a/ansible/config.yml b/ansible/config.yml
index ac9198d..fc39eb1 100644
--- a/ansible/config.yml
+++ b/ansible/config.yml
@@ -74,14 +74,15 @@
   - name: ensure minimal X window environment
     apt: name={{item}} state=present
     with_items:
-    - xserver-xorg
+    - xserver-xorg-core
+    - xserver-xorg-input-evdev  # supports lal input devices the kernel knows about
     - xinit  # contains startx
     - libpam-systemd  # needed to start X as non-root
   - name: ensure basic X tools
     apt: name={{item}} state=present
     with_items:
-    - x11-xserver-utils  # includes xrdb which applies .Xresources files
     - xterm
+    - x11-xserver-utils  # includes xrdb which applies .Xresources files
     - redshift 
     - i3
     - i3status
@@ -90,6 +91,7 @@
   # Set up pentadactyl.
   - name: ensure browser environment
     apt: name={{item}} state=present
+    with_items:
     - iceweasel
     - xul-ext-noscript
     - xul-ext-pentadactyl