Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1011 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 1011 Bytes

ansible-nfs-server

Ansible role deploying NFS server exposing a single export for test purpose.

Motivation

This repository mainly aims at illustrating the use of nfs-subdir-external-provisioner.

Role Variables

See defaults/main.yml :

Name Description Default
nfs_data_dir Directory exposed by NFS server /var/nfs-data
nfs_host Allowed client IP range 192.168.0.0/16

Example Playbook

---
- hosts: nfs_servers
  vars:
    nfs_data_dir: '/var/nfs-data'
    nfs_host: '192.168.0.0/16'
  roles:
    - role: ansible-nfs-server

License

MIT

See also