Installs NFS utilities on RedHat/CentOS or Debian/Ubuntu.
None.
Available variables are listed below, along with default values (see defaults/main.yml
):
nfs_exports: []
A list of exports which will be placed in the /etc/exports
file. See Ubuntu's simple Network File System (NFS) guide for more info and examples. (Simple example: nfs_exports: [ "/home/public *(rw,sync,no_root_squash)" ]
).
nfs_rpcbind_state: started
nfs_rpcbind_enabled: true
(RedHat/CentOS/Fedora only) The state of the rpcbind
service, and whether it should be enabled at system boot.
None.
- hosts: db-servers
roles:
- { role: geerlingguy.nfs }
MIT / BSD
This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.