Add role to install nvidia-387

This commit is contained in:
Alexander Grothe 2017-11-09 16:31:58 +01:00
parent a8e44ac1a3
commit 66029826c7
3 changed files with 9 additions and 7 deletions

View File

@ -168,6 +168,7 @@ The ~yavdr07.yml~ playbook sets up a fully-featured yaVDR installation:
- yavdr-common # install and configure the basic system - yavdr-common # install and configure the basic system
- autoinstall-ubuntu-drivers # use ubuntu-drivers to install proprietary dirvers - autoinstall-ubuntu-drivers # use ubuntu-drivers to install proprietary dirvers
# (e.g. nvidia, virtualbox) # (e.g. nvidia, virtualbox)
# - nvidia-387 # install very recent nvidia-387 from ppa:graphics-drivers/ppa
- vdr # install vdr and related packages - vdr # install vdr and related packages
- yavdr-network # enable network client capabilities - yavdr-network # enable network client capabilities
- samba-install # install samba server - samba-install # install samba server
@ -327,11 +328,11 @@ grub:
'{{ packages }}' '{{ packages }}'
#+END_SRC #+END_SRC
** nvidia-381 drivers ** nvidia-387 drivers
install nvidia-381 from ppa:graphics-drivers/ppa install nvidia-387 from ppa:graphics-drivers/ppa
*** tasks *** tasks
**** main.yml **** main.yml
#+BEGIN_SRC yaml :tangle roles/nvidia-381/tasks/main.yml :mkdirp yes :padline no #+BEGIN_SRC yaml :tangle roles/nvidia-387/tasks/main.yml :mkdirp yes :padline no
--- ---
- name: add ppa:graphics-drivers/ppa - name: add ppa:graphics-drivers/ppa
@ -340,13 +341,13 @@ install nvidia-381 from ppa:graphics-drivers/ppa
state: present state: present
update_cache: yes update_cache: yes
- name: install nvidia-381 and other required packages - name: install nvidia-387 and other required packages
apt: apt:
name: '{{ item }}' name: '{{ item }}'
state: present state: present
install_recommends: no install_recommends: no
with_items: with_items:
- nvidia-381 - nvidia-387
- nvidia-settings - nvidia-settings
#+END_SRC #+END_SRC
** yavdr-common ** yavdr-common

View File

@ -6,11 +6,11 @@
state: present state: present
update_cache: yes update_cache: yes
- name: install nvidia-381 and other required packages - name: install nvidia-387 and other required packages
apt: apt:
name: '{{ item }}' name: '{{ item }}'
state: present state: present
install_recommends: no install_recommends: no
with_items: with_items:
- nvidia-381 - nvidia-387
- nvidia-settings - nvidia-settings

View File

@ -9,6 +9,7 @@
- yavdr-common # install and configure the basic system - yavdr-common # install and configure the basic system
- autoinstall-ubuntu-drivers # use ubuntu-drivers to install proprietary dirvers - autoinstall-ubuntu-drivers # use ubuntu-drivers to install proprietary dirvers
# (e.g. nvidia, virtualbox) # (e.g. nvidia, virtualbox)
# - nvidia-387
- vdr # install vdr and related packages - vdr # install vdr and related packages
- yavdr-network # enable network client capabilities - yavdr-network # enable network client capabilities
- samba-install # install samba server - samba-install # install samba server