Skip to content

Commit 7282472

Browse files
author
Kenji Miyake
committed
tmp: add liburcu6 repository for CUDA 20.04 repository
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
1 parent ec935c0 commit 7282472

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Diff for: ansible/roles/cuda/tasks/main.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@
88
register: cuda_architecture
99
changed_when: false
1010

11+
- name: (tmp for Ubuntu 22.04) Add liburcu6 repository into sources.list for amd64
12+
become: true
13+
ansible.builtin.apt_repository:
14+
repo: deb http://archive.ubuntu.com/ubuntu focal main restricted
15+
filename: focal
16+
state: present
17+
when: cuda_architecture.stdout == "x86_64"
18+
19+
- name: (tmp for Ubuntu 22.04) Add liburcu6 repository into sources.list for arm64
20+
become: true
21+
ansible.builtin.apt_repository:
22+
repo: deb http://ports.ubuntu.com/ubuntu-ports focal main restricted
23+
filename: focal
24+
state: present
25+
when: cuda_architecture.stdout == "aarch64"
26+
1127
- name: Remove old /etc/apt/sources.list.d/cuda.list
1228
become: true
1329
ansible.builtin.file:

0 commit comments

Comments
 (0)