# ansible-role-nfs **Repository Path**: mirrors_geerlingguy/ansible-role-nfs ## Basic Information - **Project Name**: ansible-role-nfs - **Description**: Ansible Role - NFS - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-02-28 - **Last Updated**: 2026-01-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Ansible Role: NFS [![CI](https://github.com/geerlingguy/ansible-role-nfs/actions/workflows/ci.yml/badge.svg)](https://github.com/geerlingguy/ansible-role-nfs/actions/workflows/ci.yml) 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/).