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
ff29cb95
Commit
ff29cb95
authored
4 years ago
by
Andreas Hamacher
Browse files
Options
Downloads
Patches
Plain Diff
learning about conditionals in ansible
parent
05109652
No related branches found
No related tags found
3 merge requests
!310
Gpu2
,
!308
Youshallnotchanged
,
!304
Gpu
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/slurm-start/tasks/main.yml
+4
-1
4 additions, 1 deletion
roles/slurm-start/tasks/main.yml
with
4 additions
and
1 deletion
roles/slurm-start/tasks/main.yml
+
4
−
1
View file @
ff29cb95
...
@@ -61,10 +61,13 @@
...
@@ -61,10 +61,13 @@
register
:
slurm_cluster_count
register
:
slurm_cluster_count
check_mode
:
no
check_mode
:
no
-
debug
:
var
:
slurm_cluster_count
-
name
:
"
create
cluster
in
slurm
db"
-
name
:
"
create
cluster
in
slurm
db"
shell
:
"
{{slurm_dir}}/bin/sacctmgr
-i
create
cluster
{{
clustername
}}"
shell
:
"
{{slurm_dir}}/bin/sacctmgr
-i
create
cluster
{{
clustername
}}"
become
:
true
become
:
true
when
:
'
"1"
is
slurm_cluster_count.stdout'
when
:
slurm_cluster_count.stdout
== '1
'
-
name
:
make sure munge is started
-
name
:
make sure munge is started
service
:
name=munge state=started enabled=yes
service
:
name=munge state=started enabled=yes
...
...
This diff is collapsed.
Click to expand it.
Andreas Hamacher
@handreas
mentioned in commit
af2e85a0
·
4 years ago
mentioned in commit
af2e85a0
mentioned in commit af2e85a068e6caaf296c9000586e230e98746475
Toggle commit list
Andreas Hamacher
@handreas
mentioned in commit
2d4ba318
·
4 years ago
mentioned in commit
2d4ba318
mentioned in commit 2d4ba318a4007a4a7a905e1e5942e58634d2d173
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