Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Kheiron-Medical/ansible-role-nvidia-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uchida.nvidia-docker

Ansible Role Version License Travis

ansible role to install nvidia-docker and graphics driver

Role Variables

nvidia_docker_version: 2.0.3
nvidia_docker_docker_version: '*'
nvidia_default_runtime: true
  • nvidia_docker_version is a variable to specify which version of nvidia-docker, current default value is 2.0.3
  • 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').
  • nvidia_default_runtime allows you to set the nvidia runtime to be the docker default (adds to /etc/docker/daemon.json). Default is true

Dependencies

  • 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

Example Playbook

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

License

CC0

dedicated to public domain, no rights reserved.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published