Ansible Role - NFS
Go to file
Jeff Geerling 331bcdb0b8
Merge pull request #27 from joelnb/fix-apt-deprecation-warning
Pass the list of packages to apt directly
2018-07-31 11:19:20 -05:00
defaults Allow exports to be managed. 2014-11-12 15:02:07 -06: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 Fix syntax error in meta/main.yml. 2016-03-11 10:52:44 -06:00
tasks Merge pull request #27 from joelnb/fix-apt-deprecation-warning 2018-07-31 11:19:20 -05:00
templates Allow exports to be managed. 2014-11-12 15:02:07 -06:00
tests Update test script README. [ci skip] 2017-04-02 10:41:44 -05:00
vars Make the role work on Fedora systems 2016-03-11 14:24:57 +00:00
.gitignore Switch to more efficient and compact test setup. 2017-04-01 23:33:34 -05:00
.travis.yml Switch to more efficient and compact test setup. 2017-04-01 23:33:34 -05:00
LICENSE Add a LICENSE file for MIT license. [ci skip] 2017-03-31 11:24:41 -05:00
README.md Update README.md 2018-02-14 17:15:35 +01:00

README.md

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)" ]).

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.