Ansible Role nfs_server
This role installs and configures NFS as a server.
Mandatory Role Variables
Variable |
Description |
---|---|
|
A list of valid NFS server exports. Have a look at |
Example:
# mandatory
nfs_server__exports:
- '/data/appserver1 192.0.2.10(rw,sync,all_squash)'
- '/data/appserver2 192.0.2.11(ro,sync,all_squash)'
Optional Role Variables
Variable |
Description |
Default Value |
---|---|---|
|
Enables or disables the nfs-server service, analogous to |
|
Example:
# optional
nfs_server__service_enabled: true