mirror of
https://github.com/geerlingguy/ansible-role-nfs
synced 2024-11-04 19:03:29 +01:00
No description
2b82deba45
A folder may be exported to multiple clients/ranges. This patch ensures the folder existence is checked only once. Besides, the strip function is useless, split does strip strings Signed-off-by: David Rozé <droze@baylibre.com> |
||
---|---|---|
.github | ||
defaults | ||
handlers | ||
meta | ||
molecule/default | ||
tasks | ||
templates | ||
vars | ||
.ansible-lint | ||
.gitignore | ||
.yamllint | ||
LICENSE | ||
README.md |
Ansible Role: NFS
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.