ansible role to install nvidia-docker and graphics driver
nvidia_docker_version: 1.0.1
nvidia_docker_docker_version: '*'
nvidia_docker_version
is a variable to specify which version of nvidia-docker, current default value is1.0.1
nvidia_docker_docker_version
is a variable to specify which version of docker, current default value is'*'
, used only if nvidia_docker_version.startswith('2').
- uchida.docker: to install docker community edition
- uchida.nvidia-driver: to install NVIDIA Graphics driver you may want to select APT repository and driver version, consult README for this role
install nvidia-docker:
- hosts: servers
roles:
- role: uchida.nvidia-docker
install nvidia-docker version 2.0.2:
- hosts: servers
roles:
- role: uchida.nvidia-docker
nvidia_docker_version: 2.0.2
dedicated to public domain, no rights reserved.