No description
Find a file
2024-07-16 14:22:37 -05:00
.github Fixup CI versions. Drop all older RHEL releases which are broken. 2024-07-16 14:22:37 -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 Remove official support for RHEL. Rocky/Alma/Stream support is best-effort. 2023-06-23 10:56:56 -05:00
molecule/default Fixup CI versions. Drop all older RHEL releases which are broken. 2024-07-16 14:22:37 -05: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 Make ansible-lint work again. 2021-02-22 16:15:06 -06:00
.gitignore Make ansible-lint work again. 2021-02-22 16:15:06 -06:00
.yamllint Stale bot is now Stale GitHub Action. 2023-07-10 17:48:16 -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.