Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geerlingguy/ansible-role-nfs
Ansible Role - NFS
https://github.com/geerlingguy/ansible-role-nfs
ansible file file-server file-sharing network nfs role server
Last synced: 3 days ago
JSON representation
Ansible Role - NFS
- Host: GitHub
- URL: https://github.com/geerlingguy/ansible-role-nfs
- Owner: geerlingguy
- License: mit
- Created: 2014-03-05T03:38:40.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-08-27T20:56:01.000Z (5 months ago)
- Last Synced: 2024-10-10T04:06:13.604Z (3 months ago)
- Topics: ansible, file, file-server, file-sharing, network, nfs, role, server
- Language: Jinja
- Homepage: https://galaxy.ansible.com/geerlingguy/nfs/
- Size: 57.6 KB
- Stars: 244
- Watchers: 8
- Forks: 148
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-list-ansible - ansible-role-nfs - NFS (server)
README
# Ansible Role: NFS
[![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)
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)](https://ubuntu.com/server/docs/service-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](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).