Skip to content

dkozlov/ansible-nvidia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-nvidia

ansible roles to install docker-ce, graphics drivers, cuda, cudnn and nvidia-docker

How-to run

  • Install ansible
sudo pip3 install ansible
  • Create hosts file in current directory
$ cat hosts
[gpus:vars]
ansible_python_interpreter=/usr/bin/python3

[gpus]
#192.168.1.2
  • Use locally available ssh keys to authorise logins on a remote machine
ssh-copy-id  [email protected]
  • Run playbook
ansible-playbook gpus.yml

Releases

No releases published

Packages

No packages published