|
%!s(int64=6) %!d(string=hai) anos | |
---|---|---|
.. | ||
defaults | %!s(int64=7) %!d(string=hai) anos | |
meta | %!s(int64=7) %!d(string=hai) anos | |
tasks | %!s(int64=7) %!d(string=hai) anos | |
templates | %!s(int64=7) %!d(string=hai) anos | |
vars | %!s(int64=7) %!d(string=hai) anos | |
README.md | %!s(int64=7) %!d(string=hai) anos |
OpenShift Persistent Volumes
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 |
- 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"
openshift_persistentlocalstorage_enabled: True
roles:
- role: openshift_persistent_volumes
Apache License, Version 2.0
Andrew Butcher (abutcher@redhat.com)