Ansible role to install the CUDA toolkit as described in the NVIDIA CUDA Installation Guide in a Redhat/CentOS system.
Ansible >= 2.11
Clone this repo into your roles directory:
$ ansible-galaxy install usegalaxy_eu.cuda
And add it to your playbook's roles:
- hosts: yourhost
roles:
- role: usegalaxy_eu.cuda
become: yes
This role comes preloaded with multiple available defaults. You can override each one in your hosts/group vars, in your inventory, or in your play. See the annotated defaults in defaults/main.yml for help in configuration.
GPLv3