make video driver(s) configurable

This commit is contained in:
Pig Monkey 2015-10-16 19:28:45 -07:00
parent 86785cd873
commit a1dc81be40
2 changed files with 5 additions and 1 deletions

View file

@ -21,3 +21,6 @@ ssh:
editors:
- gvim
video_drivers:
- xf86-video-intel

View file

@ -9,7 +9,8 @@
pacman: name=xorg-xmodmap state=present
- name: Install Intel video driver
pacman: name=xf86-video-intel state=present
pacman: name={{ item }} state=present
with_items: "{{ video_drivers }}"
- name: Add user to video group
user: name={{ user.name }} groups=video append=yes