stevenharradine.nfs
ansible-nfs
Ansible role to install and configure Network File Sharing (NFS) client and servers
Tunables
nfs_client(boolean) - Should the nfs client be installed and configured?nfs_server(boolean) - Should the nfs server be installed and configured?nfs_client_source(string) - location of nfs mountnfs_client_mount_point(string) - location of local mount pointnfs_server_exports(object) - what local files to share
Example Playbook
- hosts: servers
roles:
- role: stevenharradine.nfs
nfs_client: yes
nfs_client_source: 127.0.0.1:/mnt/data/
nfs_client_mount_point: /data/www/remote_data/
nfs_server: yes
nfs_server_exports:
- { path: /mnt/data, source: 127.0.0.1, permissions: "(rw,sync,no_subtree_check,no_root_squash)" }
Contributors
- Steven Harradine
Install
ansible-galaxy install stevenharradine.nfsLicense
isc
Downloads
101
Owner
Full stack polyglot developer
