Ansible role deploying NFS server exposing a single export for test purpose.
This repository mainly aims at illustrating the use of nfs-subdir-external-provisioner.
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 |
---
- hosts: nfs_servers
vars:
nfs_data_dir: '/var/nfs-data'
nfs_host: '192.168.0.0/16'
roles:
- role: ansible-nfs-server