NFS on Kubernetes Example
This is an ansibilization of an example from the following repo:
https://matthewpalmer.net/kubernetes-app-developer/articles/kubernetes-volumes-example-nfs-persistent-volume.html
nfs_cluster_state: [‘absent’, ‘present’]
Not dependent on any other roles.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: kube-master[0]
become: True
roles:
- role: senorsmile.k8s-nfs
tags:
- k8s
- nfs
BSD
Shaun Smiley (senorsmile)