No description
Find a file
2018-09-25 20:24:48 -05:00
defaults Fixes #30: Switch tests to use Molecule. 2018-09-25 20:24:48 -05:00
handlers Use exportfs -ra instead of restarting the NFS service to avoid breaking already existing mounts 2018-04-24 15:35:50 +02:00
meta Fixes #30: Switch tests to use Molecule. 2018-09-25 20:24:48 -05:00
molecule/default Fixes #30: Switch tests to use Molecule. 2018-09-25 20:24:48 -05:00
tasks Fixes #30: Switch tests to use Molecule. 2018-09-25 20:24:48 -05:00
templates Allow exports to be managed. 2014-11-12 15:02:07 -06:00
vars Make the role work on Fedora systems 2016-03-11 14:24:57 +00:00
.gitignore Fixes #30: Switch tests to use Molecule. 2018-09-25 20:24:48 -05:00
.travis.yml Fixes #30: Switch tests to use Molecule. 2018-09-25 20:24:48 -05:00
LICENSE Add a LICENSE file for MIT license. [ci skip] 2017-03-31 11:24:41 -05:00
README.md Fixes #30: Switch tests to use Molecule. 2018-09-25 20:24:48 -05:00

Ansible Role: NFS

Build Status

Installs NFS utilities on RedHat/CentOS or Debian/Ubuntu.

Requirements

None.

Role Variables

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.

Dependencies

None.

Example Playbook

- hosts: db-servers
  roles:
    - { role: geerlingguy.nfs }

License

MIT / BSD

Author Information

This role was created in 2014 by Jeff Geerling, author of Ansible for DevOps.