Skip to content

Commit 6240a60

Browse files
committed
pin nvidia driver package
1 parent 4d145ae commit 6240a60

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ansible/roles/cuda/defaults/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
cuda_repo_url: "https://developer.download.nvidia.com/compute/cuda/repos/rhel{{ ansible_distribution_major_version }}/{{ ansible_architecture }}/cuda-rhel{{ ansible_distribution_major_version }}.repo"
22
cuda_nvidia_driver_stream: '575-open'
3+
cuda_nvidia_driver_pkg: "nvidia-open-3:575.57.08-1.el{{ ansible_distribution_major_version }}"
34
cuda_package_version: '12.9.1-1'
45
cuda_version_short: "{{ (cuda_package_version | split('.'))[0:2] | join('.') }}" # major.minor
56
cuda_packages:

ansible/roles/cuda/tasks/install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
- name: Install nvidia drivers
2222
ansible.builtin.dnf:
23-
name: nvidia-open
23+
name: "{{ cuda_nvidia_driver_pkg }}"
2424
register: _cuda_driver_install
2525

2626
- name: Check kernel has not been modified

0 commit comments

Comments
 (0)