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
5cf64ba5
Commit
5cf64ba5
authored
10 years ago
by
Chris Hines
Browse files
Options
Downloads
Patches
Plain Diff
update readme files for nfs-client and syncExports to explain the user of variables
parent
2aed8c23
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/nfs-client/vars/readme.txt
+4
-4
4 additions, 4 deletions
roles/nfs-client/vars/readme.txt
roles/syncExports/vars/readme.txt
+7
-2
7 additions, 2 deletions
roles/syncExports/vars/readme.txt
with
11 additions
and
6 deletions
roles/nfs-client/vars/readme.txt
+
4
−
4
View file @
5cf64ba5
---
# This is a list of
exports, individual entry for each mount.
exportList
:
- {
name : '/mnt/test-nfs', src : '/mnt',fstype : 'nfs', opts : 'vers=3,noatime,rsize=16384,wsize=16384,hard,intr,tcp,nolock' ,
in
t
er
face : 'tun0', srvopts: 'rw,sync,root_squash'
}
- { name : '/mnt/test-volume', src : '/mnt/vdc',fstype : 'nfs', opts : 'vers=3,noatime,rsize=16384,wsize=16384,hard,intr,tcp,nolock' , interface : 'tun0', srvopts: 'rw,sync,root_squash' }
# This is a list of
mounts to make
nfsMounts
:
- {
mntpt: '/home' src:"{{ hostvars[groups['ManagementNodes'][0]]['ansible_eth0']['ipv4']['address'] }}:/c
in
d
er
Volume/home", opts: "defaults", fstype: "nfs4"
}
This diff is collapsed.
Click to expand it.
roles/syncExports/vars/readme.txt
+
7
−
2
View file @
5cf64ba5
---
groupList:
- { name : 'openvpn-clients', interface : 'tun0' }
# This is a list of directorys to export and where to export them too
# interface referst to an interface name which must be present on all members
# of the group mounting the export (as opposed to the interface on the server
# which is irrelevant).
# group is a group of nodes (ansible group) authorised to mount the export
exportList:
- { src: '/cinderVolume/home', srvopts: 'fsid=1,rw,no_root_squash,sync', 'opts': 'defaults,nofail', group: 'DesktopNodes', interface: 'eth0' }
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