No description
Find a file
Jeff Geerling 11e9802153
Merge pull request #46 from devnetic0/fix_removed_redhat6_import
Remove import of deleted vars/RedHat-6.yml
2020-12-16 17:40:57 -06:00
.github Dump Travis CI and move to GitHub Actions. 2020-11-05 15:04:56 -06: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 Ensure galaxy meta information is consistent on all my roles. 2020-05-26 09:46:08 -05:00
molecule/default Dump Travis CI and move to GitHub Actions. 2020-11-05 15:04:56 -06:00
tasks Remove import of deleted vars/RedHat-6.yml 2020-12-16 17:35:25 -05:00
templates Allow exports to be managed. 2014-11-12 15:02:07 -06:00
vars Drop CentOS / RHEL 6 support. 2020-12-08 16:59:36 -06:00
.ansible-lint Ignore the tyranny of ansible-lint rule 106. 2020-08-20 19:22:21 -05:00
.gitignore Fixes #30: Switch tests to use Molecule. 2018-09-25 20:24:48 -05:00
.yamllint Upgrade Travis CI docker version to fix Molecule tests. 2020-08-12 14:55:25 -05:00
LICENSE Add a LICENSE file for MIT license. [ci skip] 2017-03-31 11:24:41 -05:00
README.md Dump Travis CI and move to GitHub Actions. 2020-11-05 15:04:56 -06:00

Ansible Role: NFS

CI

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.