text: ---
  {% for pv in pv_list %}
  apiVersion: v1
  kind: PersistentVolume
  metadata:
    name: {{ pv }}
  spec:
    capacity:
      storage: {{pv_size}}
    accessModes:
    - ReadWriteOnce
    nfs:
      path: {{ nfs_export_path }}/{{pv}}
      server: {{hostvars[nfs_host]['ec2_private_dns_name']}}
    persistentVolumeReclaimPolicy: {{persistentVolumeReclaimPolicy}}
  ---
  {% endfor %}
  