From 1be8a206ad01a0436f8d1a029efa1c84ee580d07 Mon Sep 17 00:00:00 2001 From: Alexander Grothe Date: Sun, 12 Nov 2017 21:20:01 +0100 Subject: [PATCH] add nvidia-387 role --- roles/nvidia-387/tasks/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 roles/nvidia-387/tasks/main.yml diff --git a/roles/nvidia-387/tasks/main.yml b/roles/nvidia-387/tasks/main.yml new file mode 100644 index 0000000..f5df11f --- /dev/null +++ b/roles/nvidia-387/tasks/main.yml @@ -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