nfs-client
Set up NFS in Debian-like systems (client side)
Requirements
None
Variables
nfs_client_mounts
: [default:[]
]: Shares to mountnfs_client_mounts.{n}.src
: [required]: The remote path to the share (e.g.192.168.1.10:/home
)nfs_client_mounts.{n}.path
: [required]: The local path where the share should be mounted (e.g./home
)nfs_client_mounts.{n}.state
: [default:'mounted'
]: Statenfs_client_mounts.{n}.fstype
: [default:'nfs'
]: Filesystem type (e.g.nfs4
)nfs_client_mounts.{n}.opts
: [optional]: Mount options, seefstab(5)
nfs_client_mounts.{n}.dump
: [optional]: Dump, seefstab(5)
nfs_client_mounts.{n}.passno
: [optional]: Passno, seefstab(5)
Dependencies
None
Recommended
ansible-nfs-server
(see)
Example
---
- hosts: all
roles:
- nfs-client
vars:
nfs_client_mounts:
- src: 192.168.1.10:/home
path: /home
License
MIT
Author Information
- Mischa ter Smitten
Feedback, bug-reports, requests, ...
Are welcome!