home · contact · privacy
Reduce X config in Ansible script.
authorChristian Heller <c.heller@plomlompom.de>
Wed, 22 Mar 2017 00:50:05 +0000 (01:50 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 22 Mar 2017 00:50:05 +0000 (01:50 +0100)
ansible/config.yml

index ac9198d457268e76c37288406e590f90586051ce..fc39eb1e770cb3ed5ff0f77063cf6a586f2f96b1 100644 (file)
   - 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