Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpc-factory
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Krish Moodbidri
hpc-factory
Commits
377beaa7
Commit
377beaa7
authored
7 months ago
by
Bo-Chun Chen
Browse files
Options
Downloads
Patches
Plain Diff
refactor: use variable to decide if we want autofs mount
parent
423e686e
No related branches found
No related tags found
1 merge request
!3
Change compute reference to login
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/group_vars/all
+1
-0
1 addition, 0 deletions
ansible/group_vars/all
ansible/roles/nfs_mounts/tasks/main.yml
+2
-2
2 additions, 2 deletions
ansible/roles/nfs_mounts/tasks/main.yml
with
3 additions
and
2 deletions
ansible/group_vars/all
+
1
−
0
View file @
377beaa7
...
...
@@ -22,6 +22,7 @@
ldap_uri: "ldap://ldapserver"
# nfs_mounts related
use_autofs: false
mount_points:
- /gpfs4
- /gpfs5
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/nfs_mounts/tasks/main.yml
+
2
−
2
View file @
377beaa7
---
-
name
:
nfs_mounts using fstab
include_tasks
:
fstab.yml
when
:
"
'proxy'
in
group_names"
when
:
not use_autofs
-
name
:
nfs_mounts using autofs
include_tasks
:
autofs.yml
when
:
"
'proxy'
not
in
group_names"
when
:
use_autofs
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