ANSI-RW.nfs

Ansible Role: NFS

Build Status License

Installs and configures NFS on RHEL/CentOS or Debian/Ubuntu.

Requirements

None

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

# Directories exported to NFS
nfs_exports: []
# Enable service
nfs_enable_service: true

Dependencies

None

Example Playbook

- hosts: servers

  vars_files:
    - vars/main.yml

  roles:
    - { role: ANSI-RW.nfs }

Inside vars/main.yml:

nfs_exports:
  - /mnt/public *(rw,sync,no_root_squash)

# ... etc ...

License

MIT

About

Installs and configures NFS on RHEL/CentOS or Debian/Ubuntu.

Install
ansible-galaxy install ANSI-RW.nfs
GitHub repository
License
mit
Downloads
127
Owner