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

21 lines
370 B
YAML
Raw Permalink Normal View History

2017-11-12 21:20:01 +01:00
---
- name: add ppa:graphics-drivers/ppa
apt_repository:
repo: 'ppa:graphics-drivers/ppa'
state: present
update_cache: yes
2017-12-28 17:28:43 +01:00
tags:
- ppa
2017-11-12 21:20:01 +01:00
- name: install nvidia-387 and other required packages
apt:
name: '{{ item }}'
state: present
install_recommends: no
with_items:
- nvidia-387
- nvidia-settings
2017-12-28 17:28:43 +01:00
tags:
- packages