2017-06-20 16:38:38 +02:00
|
|
|
---
|
|
|
|
# file roles/autoinstall-ubuntu-drivers/tasks/main.yml
|
|
|
|
- name: apt | install ubuntu-drivers-common
|
|
|
|
apt:
|
|
|
|
name: ubuntu-drivers-common
|
|
|
|
state: present
|
2017-06-20 15:09:15 +02:00
|
|
|
|
2017-06-20 16:38:38 +02:00
|
|
|
- name: ensure /etc/yavdr exists
|
|
|
|
file:
|
|
|
|
path: /etc/yavdr
|
|
|
|
state: directory
|
|
|
|
mode: 0755
|
2017-06-20 15:09:15 +02:00
|
|
|
|
2017-06-20 16:38:38 +02:00
|
|
|
- name: let ubuntu-drivers automatically install additional drivers
|
|
|
|
command: ubuntu-drivers --package-list /etc/yavdr/autoinstalled autoinstall
|