From 13457535ed469152b698648088a7685931a5ba6e Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 24 Mar 2017 05:00:38 +0100 Subject: [PATCH] Add 3D acceleration stuff to ansible script. --- ansible/config.yml | 7 ++++++- ansible/run.sh | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) 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 -- 2.30.2