Installs NFS utilities on RedHat/CentOS or Debian/Ubuntu.
None.
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)" }
).
None.
- hosts: db-servers
roles:
- { role: ansible-role-nfs }
MIT / BSD
This role is based on the one with the same name from Jeff Geerling, author of Ansible for DevOps. Minor changes have been made to deal with CentOS 7.