cleanup and descritive README

This commit is contained in:
Tobias_Speer 2025-07-23 11:27:10 +02:00
parent ed40c478e9
commit 44e8e027e4
24 changed files with 1605 additions and 2 deletions

View 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

View file

@ -0,0 +1,3 @@
---
- name: Install Cuda on host
ansible.builtin.include_tasks: "roles/cuda/tasks/{{ ansible_facts['distribution_file_variety'] | lower }}.yml"