home · contact · privacy
Ansible script: Improve X and browser setup.
authorChristian Heller <c.heller@plomlompom.de>
Tue, 21 Mar 2017 00:37:03 +0000 (01:37 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 21 Mar 2017 00:37:03 +0000 (01:37 +0100)
ansible/config.yml
ansible/user.yml

index 63689a6eae5fbe04c2686edf9db6e1e13714891c..d286ed90df0f675e5fdca0e8bfb6316402a41546 100644 (file)
     become_user: plom
     become_method: su
 
-  # Ensure minimal X window environment.
+  # Ensure X window environment.
   - name: ensure minimal X window environment
     apt: name={{item}} state=present
     with_items:
     - xserver-xorg
-    - xinit
-    - libpam-systemd # needed to start X as non-root
+    - 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
     - redshift 
     - i3
     - i3status
     - dmenu
+
+  # Set up pentadactyl.
+  - name: ensure browser environment
+    apt: name={{item}} state=present
+    - iceweasel
+    - xul-ext-noscript
+    - xul-ext-pentadactyl
+    - vim-gtk  # used by pentadactyl for text editing
index 5a90f20485b54993f4456671f402a6d1f62ccd6e..07dd1890bb06be587d8f7ffdf7db3515f2e743e0 100644 (file)
@@ -9,3 +9,5 @@
     - ~/config/dotfiles/minimal/*
     - ~/config/dotfiles/user/thinkpad/minimal/*
     - ~/config/dotfiles/user/thinkpad/W530/*
+  - name: ensure ~/downloads directory
+    file: state=directory dest=~/downloads