main.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ---
  2. # Must not be blank if you're using vsphere
  3. openshift_cloudprovider_vsphere_datastore: ''
  4. openshift_storageclass_defaults:
  5. aws:
  6. provisioner: aws-ebs
  7. name: gp2
  8. parameters:
  9. type: gp2
  10. kmsKeyId: ''
  11. encrypted: 'false'
  12. azure:
  13. provisioner: azure-disk
  14. name: azure-standard
  15. parameters:
  16. storageaccounttype: 'Standard_LRS'
  17. kind: 'Shared'
  18. gce:
  19. name: standard
  20. provisioner: gce-pd
  21. parameters:
  22. type: pd-standard
  23. openstack:
  24. name: standard
  25. provisioner: cinder
  26. parameters:
  27. fstype: xfs
  28. vsphere:
  29. provisioner: vsphere-volume
  30. name: standard
  31. parameters:
  32. datastore: "{{ openshift_cloudprovider_vsphere_datastore }}"
  33. openshift_storageclass_default: "true"
  34. openshift_storageclass_name: "{{ openshift_storageclass_defaults[openshift_cloudprovider_kind]['name'] }}"
  35. openshift_storageclass_provisioner: "{{ openshift_storageclass_defaults[openshift_cloudprovider_kind]['provisioner'] }}"
  36. openshift_storageclass_parameters: "{{ openshift_storageclass_defaults[openshift_cloudprovider_kind]['parameters'] }}"