home · contact · privacy
Add 3D acceleration stuff to ansible script.
[config] / ansible / config.yml
index 4b388ff6136dc232efc7f90736a4c58304fe04e9..ecfbbff301ec5c32ba946e916dd7c28ea3cedd2d 100644 (file)
     - xserver-xorg-input-evdev  # supports all input devices the kernel knows about
     - xinit  # contains startx
     - libpam-systemd  # needed to start X as non-root
-  - name: ensure basic X tools
+  - name: ensure openGL and 3D accelleration 
     apt: name={{item}} state=present
     with_items:
     - libgl1-mesa-dri  # necessary for OpenGL 3D acceleration to work
+    - bumblebee-nvidia
+    - primus
+  - name: ensure basic X tools
+    apt: name={{item}} state=present
+    with_items:
     - xterm
     - x11-xserver-utils  # includes xrdb which applies .Xresources files
     - redshift