add nvidia-387 role
This commit is contained in:
parent
8bf95f207a
commit
1be8a206ad
16
roles/nvidia-387/tasks/main.yml
Normal file
16
roles/nvidia-387/tasks/main.yml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
- name: add ppa:graphics-drivers/ppa
|
||||||
|
apt_repository:
|
||||||
|
repo: 'ppa:graphics-drivers/ppa'
|
||||||
|
state: present
|
||||||
|
update_cache: yes
|
||||||
|
|
||||||
|
- name: install nvidia-387 and other required packages
|
||||||
|
apt:
|
||||||
|
name: '{{ item }}'
|
||||||
|
state: present
|
||||||
|
install_recommends: no
|
||||||
|
with_items:
|
||||||
|
- nvidia-387
|
||||||
|
- nvidia-settings
|
Loading…
Reference in New Issue
Block a user