ome.nfs_mount
NFS Mount
Role Variables
nfs_mount_opts
: Default options for mounting NFSnfs_version
: Default NFS version to use (4)nfs_share_mounts
: List of NFS shares with details:- path: where to mount
- location: path on the NFS server
- opts: additional mount options (optional)
- dump: whether to dump the filesystem (optional)
- passno: for filesystem checks on reboot (optional)
- state: choose the desired state (default: mounted) - refer to the documentation here.
Example Playbook
- hosts: localhost
vars:
nfs_version: 3 # to use NFS version 3
roles:
- role: ome.nfs_mount
nfs_share_mounts:
- path: /mnt/remote
location: nfs.example.org:/data
# remove a mount from the server
- path: /mnt/remote_old
location: nfs.example.org:/data1337
state: absent
- path: /mnt/readonly
location: nfs.example.org:/read-only
opts: "{{ nfs_mount_opts }},ro"
- path: /mnt/ex_passno
location: nfs.example.org:/ex_passno
passno: 0
- path: /mnt/ex_dump
location: nfs.example.org:/ex_dump
dump: 0
Author Information
Installa
ansible-galaxy install ome.nfs_mount
Licenza
bsd-2-clause
Download
178.1k
Proprietario
Software and data format standards for management of microscopy image data. Joint project between international private and public research