Skip to content
Snippets Groups Projects
Commit 5cf64ba5 authored by Chris Hines's avatar Chris Hines
Browse files

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
---
# 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' , interface : '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'] }}:/cinderVolume/home", opts: "defaults", fstype: "nfs4" }
---
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' }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment