File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,9 +5,10 @@ dcgm_pkg_name: "datacenter-gpu-manager"
55epel_package : " https://dl.fedoraproject.org/pub/epel/epel-release-latest-{{ ansible_distribution_major_version }}.noarch.rpm"
66epel_key_url : " https://getfedora.org/static/fedora.gpg"
77nvidia_driver_rhel_cuda_repo_baseurl : " https://developer.download.nvidia.com/compute/cuda/repos/{{ _rhel_repo_dir }}/"
8- nvidia_driver_rhel_cuda_repo_gpgkey : " https://developer.download.nvidia.com/compute/cuda/repos/{{ _rhel_repo_dir }}/7fa2af80 .pub"
8+ nvidia_driver_rhel_cuda_repo_gpgkey : " https://developer.download.nvidia.com/compute/cuda/repos/{{ _rhel_repo_dir }}/D42D0685 .pub"
99
1010# Ubuntu
11- nvidia_driver_ubuntu_cuda_repo_gpgkey_url : " https://developer.download.nvidia.com/compute/cuda/repos/{{ _ubuntu_repo_dir }}/7fa2af80.pub"
12- nvidia_driver_ubuntu_cuda_repo_gpgkey_id : " 7fa2af80"
11+ old_nvidia_driver_ubuntu_cuda_repo_gpgkey_id : " 7fa2af80"
1312nvidia_driver_ubuntu_cuda_repo_baseurl : " https://developer.download.nvidia.com/compute/cuda/repos/{{ _ubuntu_repo_dir }}"
13+ nvidia_driver_ubuntu_cuda_keyring_package : " cuda-keyring_1.0-1_all.deb"
14+ nvidia_driver_ubuntu_cuda_keyring_url : " {{ nvidia_driver_ubuntu_cuda_repo_baseurl }}/{{ nvidia_driver_ubuntu_cuda_keyring_package }}"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11---
2- - name : Ubuntu | add pin file
3- copy :
4- src : " cuda-ubuntu.pin"
5- dest : " /etc/apt/preferences.d/cuda-repository-pin-600"
6- owner : " root"
7- group : " root"
8- mode : " 0644"
9-
10- - name : Ubuntu | add key
2+ - name : Ubuntu | remove old key
113 apt_key :
12- url : " {{ nvidia_driver_ubuntu_cuda_repo_gpgkey_url }}"
13- id : " {{ nvidia_driver_ubuntu_cuda_repo_gpgkey_id }}"
14- environment : " {{ proxy_env if proxy_env is defined else {} }}"
4+ id : " {{ old_nvidia_driver_ubuntu_cuda_repo_gpgkey_id }}"
5+ state : " absent"
156
16- - name : Ubuntu | add CUDA repo
17- apt_repository :
18- repo : " deb {{ nvidia_driver_ubuntu_cuda_repo_baseurl }} / "
19- update_cache : yes
7+ - name : Ubuntu | install CUDA keyring
8+ apt :
9+ deb : " {{ nvidia_driver_ubuntu_cuda_keyring_url }}"
10+ state : " present "
2011 environment : " {{ proxy_env if proxy_env is defined else {} }}"
2112
2213- name : Ubuntu | install package
You can’t perform that action at this time.
0 commit comments