yavdr-ansible/roles/nvidia-experimental/tasks/main.yml

20 lines
345 B
YAML

---
- name: add ppa:graphics-drivers/ppa
apt_repository:
repo: 'ppa:graphics-drivers/ppa'
state: present
update_cache: yes
tags:
- ppa
- name: install nvidia-396 and other required packages
apt:
name:
-nvidia-396
-nvidia-settings
state: present
install_recommends: no
tags:
- packages