Skip to content

[DEV] Ansible role deploying NFS server for test purpose (mainly with nfs-subdir-external-provisioner in K8S cluster)

License

Notifications You must be signed in to change notification settings

mborne/ansible-nfs-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

[DEV] Ansible role deploying NFS server for test purpose (mainly with nfs-subdir-external-provisioner in K8S cluster)

Topics

Resources

License

Stars

Watchers

Forks

Languages