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
4bef09d7
Commit
4bef09d7
authored
9 years ago
by
Chris Hines
Browse files
Options
Downloads
Patches
Plain Diff
create the slurm log dir as well
parent
0523d6b7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/slurm-from-source/tasks/main.yml
+5
-8
5 additions, 8 deletions
roles/slurm-from-source/tasks/main.yml
with
5 additions
and
8 deletions
roles/slurm-from-source/tasks/main.yml
+
5
−
8
View file @
4bef09d7
...
...
@@ -24,27 +24,24 @@
sudo
:
true
-
name
:
create data directory
file
:
path={{ slurmdatadir }} state=directory owner=slurm group=slurm mode=75
5
file
:
path={{ slurmdatadir }} state=directory owner=slurm group=slurm mode=75
0
sudo
:
true
when
:
slurmdatadir is defined
-
name
:
create run directory
file
:
path={{ slurmpiddir }} state=directory owner=root group=root mode=75
5
file
:
path={{ slurmpiddir }} state=directory owner=root group=root mode=75
0
sudo
:
true
when
:
slurmpiddir is defined
-
name
:
create state directory
file
:
path={{ slurmstatedir }} state=directory owner=slurm group=slurm mode=75
5
file
:
path={{ slurmstatedir }} state=directory owner=slurm group=slurm mode=75
0
sudo
:
true
when
:
slurmstatedir is defined
-
name
:
create log directory
shell
:
mkdir -p {{ slurmddebug.log | dirname }}; chown slurm:slurm {{ slurmddebug.log | dirname }}
args
:
creates
:
"
{{
slurmddebug.log
|
dirname
}}"
file
:
path={{ slurmlogdir }} state=directory owner=slurm group=slurm mode=750
sudo
:
true
when
:
slurm
ddebug
is defined
and slurmddebug.log
when
:
slurm
logdir
is defined
-
name
:
install deps
yum
:
name={{ item }} state=latest
...
...
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