2014-03-05 04:38:18 +01:00
# Ansible Role: NFS
2020-11-05 22:04:56 +01:00
[![CI ](https://github.com/geerlingguy/ansible-role-nfs/workflows/CI/badge.svg?event=push )](https://github.com/geerlingguy/ansible-role-nfs/actions?query=workflow%3ACI)
2014-11-12 21:21:21 +01:00
Installs NFS utilities on RedHat/CentOS or Debian/Ubuntu.
2014-03-05 04:38:18 +01:00
## Requirements
None.
## Role Variables
2014-11-12 22:02:07 +01:00
Available variables are listed below, along with default values (see `defaults/main.yml` ):
nfs_exports: []
2020-05-19 09:47:32 +02:00
A list of exports which will be placed in the `/etc/exports` file. See Ubuntu's simple [Network File System (NFS) ](https://ubuntu.com/server/docs/service-nfs ) guide for more info and examples. (Simple example: `nfs_exports: [ "/home/public *(rw,sync,no_root_squash)" ]` ).
2014-03-05 04:38:18 +01:00
2018-09-26 03:24:48 +02:00
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.
2014-03-05 04:38:18 +01:00
## Dependencies
None.
## Example Playbook
- hosts: db-servers
roles:
- { role: geerlingguy.nfs }
## License
MIT / BSD
## Author Information
2017-01-22 03:01:27 +01:00
This role was created in 2014 by [Jeff Geerling ](https://www.jeffgeerling.com/ ), author of [Ansible for DevOps ](https://www.ansiblefordevops.com/ ).