home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add 3D acceleration stuff to ansible script.
[config]
/
ansible
/
config.yml
diff --git
a/ansible/config.yml
b/ansible/config.yml
index d286ed90df0f675e5fdca0e8bfb6316402a41546..ecfbbff301ec5c32ba946e916dd7c28ea3cedd2d 100644
(file)
--- a/
ansible/config.yml
+++ b/
ansible/config.yml
@@
-60,7
+60,7
@@
- sudo
- openssh-client
- name: ensure boot messages are not cleared on start up
- sudo
- openssh-client
- name: ensure boot messages are not cleared on start up
- replace: dest=/etc/systemd/system/getty.target.wants/getty@tty1.service regexp='^TTYVTDisallocate=yes.*$' replace='TTYVDisallocate=no'
+ replace: dest=/etc/systemd/system/getty.target.wants/getty@tty1.service regexp='^TTYVTDisallocate=yes.*$' replace='TTYV
T
Disallocate=no'
# Config user.
- name: create user plom with sudo privileges and bash shell
# Config user.
- name: create user plom with sudo privileges and bash shell
@@
-74,14
+74,21
@@
- name: ensure minimal X window environment
apt: name={{item}} state=present
with_items:
- name: ensure minimal X window environment
apt: name={{item}} state=present
with_items:
- - xserver-xorg
+ - xserver-xorg-core
+ - xserver-xorg-input-evdev # supports all input devices the kernel knows about
- xinit # contains startx
- libpam-systemd # needed to start X as non-root
- xinit # contains startx
- libpam-systemd # needed to start X as non-root
+ - 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:
- name: ensure basic X tools
apt: name={{item}} state=present
with_items:
- - x11-xserver-utils # includes xrdb which applies .Xresources files
- xterm
- xterm
+ - x11-xserver-utils # includes xrdb which applies .Xresources files
- redshift
- i3
- i3status
- redshift
- i3
- i3status
@@
-90,6
+97,7
@@
# Set up pentadactyl.
- name: ensure browser environment
apt: name={{item}} state=present
# Set up pentadactyl.
- name: ensure browser environment
apt: name={{item}} state=present
+ with_items:
- iceweasel
- xul-ext-noscript
- xul-ext-pentadactyl
- iceweasel
- xul-ext-noscript
- xul-ext-pentadactyl