Skip to content

Commit dcecd75

Browse files
committed
Fix detection of CUDA package version
1 parent d90d5db commit dcecd75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ansible/cleanup.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@
7171
vars:
7272
image_info:
7373
branch: "{{ lookup('pipe', 'git rev-parse --abbrev-ref HEAD') }}"
74-
build: "{{ ansible_nodename | split('.') | first }}" # hostname is image name, which contains build info
74+
build: "{{ ansible_nodename | split('.') | first }}" # hostname is image name, which contains build info
7575
os: "{{ ansible_distribution }} {{ ansible_distribution_version }}"
7676
kernel: "{{ ansible_kernel }}"
7777
ofed: "{{ ansible_facts.packages['mlnx-ofa_kernel'].0.version | default('-') }}"
7878
doca: "{{ ansible_facts.packages[doca_profile | default('doca-ofed') ].0.version | default('-') }}"
79-
cuda: "{{ ansible_facts.packages['cuda'].0.version | default('-') }}"
79+
cuda: "{{ ansible_facts.packages['cuda-toolkit'].0.version | default('-') }}"
8080
slurm-ohpc: "{{ ansible_facts.packages['slurm-ohpc'].0.version | default('-') }}"
8181

8282
- name: Show image summary

0 commit comments

Comments
 (0)