ansible-nas/docs/configuration/nfs_exports.md
David Stephens 3626874377 NFS Support!
2019-04-20 12:56:53 +01:00

916 B

NFS Exports

Ansible-NAS uses the awesome geerlingguy.nfs Ansible role to configure NFS exports.

More info on configuring NFS exports can be found here.

NFS Examples

Ansible-NAS shares are defined in the nfs_exports section within group_vars/all.yml. The example provided will allow anyone to read the data in {{ nfs_shares_root }}/public on your Ansible-NAS box.

Permissions

NFS "exports" (an equivalent of a Samba share) are permissioned differently to Samba shares. Samba shares are permissioned with users and groups, and NFS exports are permissioned by the host wanting to access them, and then usual Linux permissions are applied to the files and directories within there. As mentioned above, the example will allow any computer on your network to read and write to the export.