Skip to content

Commit

Permalink
fix: add missing sudo and update_cache for cuda keyring (autowarefoun…
Browse files Browse the repository at this point in the history
…dation#266)

Signed-off-by: Daisuke Nishimatsu <border_goldenmarket@yahoo.co.jp>
  • Loading branch information
wep21 authored May 3, 2022
1 parent 8434ded commit af25fad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ansible/roles/cuda/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
changed_when: false

- name: Install CUDA keyring
become: true
ansible.builtin.apt:
deb: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/{{ cuda_architecture.stdout }}/cuda-keyring_1.0-1_all.deb
update_cache: true

- name: Get dash-case name of cuda_version
ansible.builtin.shell: bash -c 'sed -e "s/\./-/g" <<< $(echo {{ cuda_version }})'
Expand Down

0 comments on commit af25fad

Please sign in to comment.