blurringtool-ml-deployment/ansible/roles/cuda/tasks/debian.yml

13 lines
462 B
YAML
Executable file

---
- name: Install a nvidia cuda repo from a deb
ansible.builtin.apt:
deb: "https://developer.download.nvidia.com/compute/cuda/repos/{{ ansible_facts['distribution'] | lower }}{{ ansible_facts['distribution_version'] | replace('.', '') }}/{{ ansible_facts['machine']}}/cuda-keyring_1.1-1_all.deb"
state: present
update_cache: true
- name: Install cuda
ansible.builtin.apt:
name: cuda
state: present
update_cache: true
async: 1200