We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec935c0 commit 7282472Copy full SHA for 7282472
ansible/roles/cuda/tasks/main.yaml
@@ -8,6 +8,22 @@
8
register: cuda_architecture
9
changed_when: false
10
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
21
22
+ repo: deb http://ports.ubuntu.com/ubuntu-ports focal main restricted
23
24
25
+ when: cuda_architecture.stdout == "aarch64"
26
27
- name: Remove old /etc/apt/sources.list.d/cuda.list
28
become: true
29
ansible.builtin.file:
0 commit comments