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
6f17a9bf
Commit
6f17a9bf
authored
3 years ago
by
Chris Hines
Browse files
Options
Downloads
Patches
Plain Diff
Mount nvme disks on /mnt/nvme
addresses
#34
parent
59996c01
No related branches found
No related tags found
3 merge requests
!519
Mount nvme disks on /mnt/nvme
,
!517
modifications to playbooks because 1. we're not using ldap 2. we're mounting...
,
!513
modifications to playbooks because 1. we're not using ldap 2. we're mounting...
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/slurm-common/tasks/main.yml
+29
-9
29 additions, 9 deletions
roles/slurm-common/tasks/main.yml
with
29 additions
and
9 deletions
roles/slurm-common/tasks/main.yml
+
29
−
9
View file @
6f17a9bf
...
@@ -4,15 +4,35 @@
...
@@ -4,15 +4,35 @@
path
:
/raid
path
:
/raid
register
:
raiddir
register
:
raiddir
-
name
:
Set /mnt/nvme as spankprivatetmpdir if present
-
block
:
file
:
-
parted
:
src
:
/mnt/nvme
device
:
/dev/nvme0n1
dest
:
"
{{
spankprivatetmpmount
}}"
flags
:
[
lvm
]
owner
:
root
label
:
gpt
group
:
root
number
:
1
mode
:
u=rwx,g=rx,o=rx
state
:
present
state
:
link
become
:
true
become
:
true
-
filesystem
:
fstype
:
ext4
dev
:
/dev/nvme0n1p1
become
:
true
-
mount
:
fstype
:
ext4
src
:
/dev/nvme0n1p1
state
:
mounted
path
:
/mnt/nvme
become
:
true
-
name
:
Set /mnt/nvme as spankprivatetmpdir if present
file
:
src
:
/mnt/nvme
dest
:
"
{{
spankprivatetmpmount
}}"
owner
:
root
group
:
root
mode
:
u=rwx,g=rx,o=rx
state
:
link
become
:
true
when
:
hostvars[inventory_hostname]['ansible_devices']['nvme0n1'] is defined
when
:
hostvars[inventory_hostname]['ansible_devices']['nvme0n1'] is defined
-
name
:
Link /raid as spankprivatetmpdir if present
-
name
:
Link /raid as spankprivatetmpdir if present
...
...
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