logdetective: F41's DNF5 has no --add-repo in config-manager

This commit is contained in:
Pavel Raiskup 2025-02-05 17:01:03 +01:00
parent 04c2f72d1e
commit 1cb2285afd

View file

@ -16,7 +16,7 @@
- name: Download and install cuda drivers repo
ansible.builtin.shell:
cmd: |
dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/fedora41/x86_64/cuda-fedora41.repo
cd /etc/yum.repos.d/ && wget https://developer.download.nvidia.com/compute/cuda/repos/fedora41/x86_64/cuda-fedora41.repo
dnf clean all
dnf -y install cuda-toolkit-12
dnf -y module install nvidia-driver:open-dkms