Commit 335611dd authored by Emmanuel Jaep's avatar Emmanuel Jaep
Browse files

test try to clear key import error

parent 3b2ca868
......@@ -12,11 +12,21 @@
group: "root"
mode: "0644"
- name: add key
apt_key:
url: "{{ nvidia_driver_ubuntu_cuda_repo_gpgkey_url }}"
id: "{{ nvidia_driver_ubuntu_cuda_repo_gpgkey_id }}"
environment: "{{proxy_env if proxy_env is defined else {}}}"
# - name: add key
# apt_key:
# url: "{{ nvidia_driver_ubuntu_cuda_repo_gpgkey_url }}"
# id: "{{ nvidia_driver_ubuntu_cuda_repo_gpgkey_id }}"
# environment: "{{proxy_env if proxy_env is defined else {}}}"
# As per https://github.com/NVIDIA/nvidia-docker/issues/1632
- name: remove the cuda.list and nvidia-ml.list file
file:
path: "{{ item }}"
state: absent
with_items:
- "/etc/apt/sources.list.d/cuda.list"
- "/etc/apt/sources.list.d/nvidia-ml.list"
- name: add repo
......
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