From: Christian Heller Date: Fri, 24 Mar 2017 04:00:38 +0000 (+0100) Subject: Add 3D acceleration stuff to ansible script. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%22https:/validator.w3.org/day?a=commitdiff_plain;h=13457535ed469152b698648088a7685931a5ba6e;p=config Add 3D acceleration stuff to ansible script. --- diff --git a/ansible/config.yml b/ansible/config.yml index 4b388ff..ecfbbff 100644 --- a/ansible/config.yml +++ b/ansible/config.yml @@ -78,10 +78,15 @@ - 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 diff --git a/ansible/run.sh b/ansible/run.sh index 02856c2..a4e62e8 100755 --- a/ansible/run.sh +++ b/ansible/run.sh @@ -1 +1 @@ -ansible-playbook -i 'localhost,' -c local config.yml +ansible-playbook -vvv -i 'localhost,' -c local config.yml