Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
fe33ed19
Commit
fe33ed19
authored
8 years ago
by
Chris Hines
Browse files
Options
Downloads
Patches
Plain Diff
since nvidia-probe always outputs valid json now, remove unncessary conditionals
parent
c3e16696
No related branches found
Branches containing commit
No related tags found
1 merge request
!87
Tweaks
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/slurm-common/tasks/main.yml
+1
-4
1 addition, 4 deletions
roles/slurm-common/tasks/main.yml
with
1 addition
and
4 deletions
roles/slurm-common/tasks/main.yml
+
1
−
4
View file @
fe33ed19
...
...
@@ -88,11 +88,8 @@
script
:
scripts/nvidia-probe.py
register
:
probeOutput
-
set_fact
:
slurm_gres_list= "[ ]"
-
name
:
"
set
nvidiaprobe
slurm_gres_list"
set_fact
:
"
slurm_gres_list={{
probeOutput.stdout
|
from_json
}}"
when
:
probeOutput.stdout is defined and ( probeOutput.stdout|length !=0 )
set_fact
:
"
slurm_gres_list={{
probeOutput.stdout
}}"
-
name
:
template gres.conf file
template
:
src="gres.conf.j2" dest={{ slurm_dir }}/etc/gres/gres.conf mode=644
...
...
This diff is collapsed.
Click to expand it.
Chris Hines
@chines
mentioned in commit
6e8f5a36
·
4 years ago
mentioned in commit
6e8f5a36
mentioned in commit 6e8f5a36898c6b99eee57649afdbb279947e64c2
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment