Using yum_config to download repo instead of the rpm

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
This commit is contained in:
Jiri Podivin 2024-08-30 14:33:28 +02:00
parent 95f4dd051d
commit 9fcb0ab9a6

View file

@ -48,8 +48,12 @@
- gcc-c++ - gcc-c++
- name: Download and install cuda drivers repo - name: Download and install cuda drivers repo
ansible.builtin.dnf: ansible.builtin.yum_repository:
name: https://developer.download.nvidia.com/compute/cuda/12.5.1/local_installers/cuda-repo-fedora39-12-5-local-12.5.1_555.42.06-1.x86_64.rpm baseurl: https://developer.download.nvidia.com/compute/cuda/repos/fedora39/x86_64
gpgcheck: false
name: cuda
description: cuda package repo
repo_gpgcheck: false
- name: Install cuda drivers - name: Install cuda drivers
ansible.builtin.dnf: ansible.builtin.dnf: