An Ansible role to install the minimum needed to run a cuda application.
You will be able to install additional NVIDIA packages after this playbook E.G ( cublas, cufft, cusparse )
ansible-galaxy install tyhal.cuda
Then you can use this with:
- hosts: all
become: yes
roles:
- { role: tyhal.cuda }