stevenharradine.nfs

ansible-nfs

Ansible role to install and configure Network File Sharing (NFS) client and servers

Licence Platforms

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 mount
  • nfs_client_mount_point (string) - location of local mount point
  • nfs_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
About

Installs and configures nfs client and / or server

Install
ansible-galaxy install stevenharradine.nfs
GitHub repository
License
isc
Downloads
101
Owner
Full stack polyglot developer