Skip to content

Commit a83dcdc

Browse files
committed
fix cuda install without lustre first
1 parent 3a92c41 commit a83dcdc

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

ansible/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ roles/*
9090
!roles/gateway/**
9191
!roles/alertmanager/
9292
!roles/alertmanager/**
93-
!roles/slurm_recompile/**
93+
!roles/slurm_recompile/
9494
!roles/slurm_recompile/**
9595
!roles/nhc/
9696
!roles/nhc/**

ansible/roles/slurm_recompile/defaults/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
# Whether to link slurm against the NVIDIA management library
33
slurm_recompile_with_nvml: false
44

5+
slurm_recompile_build_packages:
6+
- rpm-build

ansible/roles/slurm_recompile/tasks/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
set_fact:
1313
slurm_package: "{{ ansible_facts.packages['slurm-slurmd-ohpc'].0 }}"
1414

15+
- name: Install build packages
16+
ansible.builtin.dnf:
17+
name: "{{ slurm_recompile_build_packages }}"
18+
1519
- name: Recompile and install slurm packages
1620
shell: |
1721
#!/bin/bash

0 commit comments

Comments
 (0)