yavdr-ansible/roles/autoinstall-ubuntu-drivers/tasks/main.yml

16 lines
407 B
YAML
Raw Normal View History

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 16:38:38 +02:00
- name: ensure /etc/yavdr exists
file:
path: /etc/yavdr
state: directory
mode: 0755
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