Michael Gugino fc4867523a Fix generate_pv_pvcs_list plugin undef %!s(int64=7) %!d(string=hai) anos
..
action_plugins fc4867523a Fix generate_pv_pvcs_list plugin undef %!s(int64=7) %!d(string=hai) anos
defaults 0de559c8f2 Fix hosted vars %!s(int64=7) %!d(string=hai) anos
meta 0de559c8f2 Fix hosted vars %!s(int64=7) %!d(string=hai) anos
tasks 0de559c8f2 Fix hosted vars %!s(int64=7) %!d(string=hai) anos
templates 0de559c8f2 Fix hosted vars %!s(int64=7) %!d(string=hai) anos
vars 44e5ddc20e Refactor registry storage options. %!s(int64=9) %!d(string=hai) anos
README.md 8bf97723ce Remove openshift-common %!s(int64=7) %!d(string=hai) anos

README.md

OpenShift NFS Server

OpenShift Persistent Volumes

Requirements

Role Variables

From this role:

Name Default value
persistent_volumes [] List of persistent volume dictionaries, keys: name, capacity, access_modes, storage
persistent_volume_claims [] List of persistent volume claim dictionaries, keys: name, capacity, access_modes

Dependencies

Example Playbook

- name: Create persistent volumes/claims
  hosts: oo_first_master
  vars:
    persistent_volumes:
    - name: "registry-volume"
      capacity: "5Gi"
      access_modes:
      - "ReadWriteMany"
      storage:
        nfs:
          server: "nfs.example.com"
          path: "/var/exports/registry"
    persistent_volume_claims:
    - name: "registry-claim"
      capacity: "5Gi"
      access_modes:
      - "ReadWriteMany"
  roles:
  - role: openshift_persistent_volumes

License

Apache License, Version 2.0

Author Information

Andrew Butcher (abutcher@redhat.com)