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
7699e8ae
Commit
7699e8ae
authored
3 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Patches
Plain Diff
playing with quotes to make ansible happy
parent
ab5aac15
No related branches found
No related tags found
1 merge request
!460
Upcoming maintenance
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/slurm-start/tasks/main.yml
+2
-2
2 additions, 2 deletions
roles/slurm-start/tasks/main.yml
with
2 additions
and
2 deletions
roles/slurm-start/tasks/main.yml
+
2
−
2
View file @
7699e8ae
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
register
:
slurm_cluster_count
register
:
slurm_cluster_count
check_mode
:
no
check_mode
:
no
changed_when
:
false
changed_when
:
false
when
:
slurmctrl == inventory_hostname
when
:
'
slurmctrl
==
inventory_hostname
'
-
debug
:
-
debug
:
var
:
slurm_cluster_count
var
:
slurm_cluster_count
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
-
name
:
"
create
cluster
in
slurm
db"
#needs munge to run
-
name
:
"
create
cluster
in
slurm
db"
#needs munge to run
shell
:
"
{{
slurm_dir
}}/bin/sacctmgr
-i
create
cluster
{{
clustername
}}"
shell
:
"
{{
slurm_dir
}}/bin/sacctmgr
-i
create
cluster
{{
clustername
}}"
become
:
true
become
:
true
when
:
slurm_cluster_count.stdout == '1' and slurmctrl == inventory_hostname
when
:
'
slurmctrl
==
inventory_hostname
and
slurm_cluster_count.stdout
==
"1"'
-
name
:
start slurmd
-
name
:
start slurmd
service
:
name=slurmd enabled={{ slurmd_enabled }}
service
:
name=slurmd enabled={{ slurmd_enabled }}
...
...
This diff is collapsed.
Click to expand it.
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