Commit 534b6685 authored by Emmanuel Jaep's avatar Emmanuel Jaep
Browse files

debug

parent 2dcb2049
......@@ -261,8 +261,11 @@
# shell: "sleep 15 && reboot &"
- name: Deploy CUDA 11.2
ansible.builtin.include_role:
name: cuda_11_2
# name: cuda_11_2
name: ansible-role-nvidia-driver
vars:
nvidia_driver_skip_reboot: yes
nvidia_driver_ubuntu_install_from_cuda_repo: yes
# nvidia_driver_ubuntu_cuda_repo_gpgkey_url: http://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64
nvidia_driver_ubuntu_cuda_repo_gpgkey_url: https://developer.download.nvidia.com/compute/cuda/repos/{{ _ubuntu_repo_dir }}/a4b469963bf863cc.pub
nvidia_driver_ubuntu_cuda_repo_gpgkey_id: A4B469963BF863CC
# nvidia_driver_ubuntu_cuda_repo_gpgkey_url: https://developer.download.nvidia.com/compute/cuda/repos/{{ _ubuntu_repo_dir }}/a4b469963bf863cc.pub
# nvidia_driver_ubuntu_cuda_repo_gpgkey_id: A4B469963BF863CC
ansible-role-nvidia-driver @ 8fa78e47
Subproject commit 8fa78e47b2e974e1a6dde961ea3622f47c2647e5
......@@ -36,16 +36,23 @@
when: cuda_list_exists.stat.exists
- name: remove the old nvidia key
apt_key:
id: "7fa2af80"
state: absent
- name: add key
apt_key:
keyserver: keyserver.ubuntu.com
id: "A4B469963BF863CC"
# As per https://github.com/NVIDIA/nvidia-docker/issues/1632
- name: remove the old nvidia key
apt_key:
id: "7fa2af80"
state: absent
- name: get n
# # As per https://github.com/NVIDIA/nvidia-docker/issues/1632
# - name: remove the old nvidia key
# apt_key:
# id: "7fa2af80"
# state: absent
- name: install the package
apt:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment