cleanup and descritive README
This commit is contained in:
parent
ed40c478e9
commit
44e8e027e4
24 changed files with 1605 additions and 2 deletions
13
ansible/roles/cuda/tasks/debian.yml
Executable file
13
ansible/roles/cuda/tasks/debian.yml
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
- 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
|
||||
3
ansible/roles/cuda/tasks/main.yml
Executable file
3
ansible/roles/cuda/tasks/main.yml
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
- name: Install Cuda on host
|
||||
ansible.builtin.include_tasks: "roles/cuda/tasks/{{ ansible_facts['distribution_file_variety'] | lower }}.yml"
|
||||
Loading…
Add table
Add a link
Reference in a new issue