ansible role to install NVIDIA graphics driver
nvidia_driver_repo: nvidia
nvidia_driver_version: 384
nvidia_driver_repo
is a variable to specify which APT repository is added, choice of['nvidia', 'ppa', 'ubuntu']
and default isnvidia
nvidia
: register NVIDIA CUDA repository and installcuda-drivers
ppa
: register Ubuntu PPA repositoryubuntu
: Ubuntu official APT repository, nothing to register
nvidia_driver_version
is a variable to specify NVIDIA graphics driver version and current default is384
- uchida.nvidia-repo: to add NVIDIA CUDA/Machine Learning APT repository, for cuda drivers
register NVIDIA CUDA repository and install cuda-drivers
- hosts: servers
roles:
- role: uchida.nvidia-driver
nvidia_driver_repo: nvidia
register ppa repository and install graphics driver version 390
- hosts: servers
roles:
- role: uchida.nvidia-driver
nvidia_driver_repo: ppa
nvidia_driver_version: 390
install graphics driver version 384.111
- hosts: servers
roles:
- role: uchida.nvidia-driver
nvidia_driver_repo: ubuntu
nvidia_driver_version: "384.111"
install graphics driver version 384.81 from ubuntu or nvidia
- hosts: servers
roles:
- role: uchida.nvidia-repo
- role: uchida.nvidia-driver
nvidia_driver_repo: ubuntu
nvidia_driver_version: "384.81"
dedicated to public domain, no rights reserved.