main.yml 964 B

12345678910111213141516171819202122232425262728293031323334
  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. gce:
  13. name: standard
  14. provisioner: gce-pd
  15. parameters:
  16. type: pd-standard
  17. openstack:
  18. name: standard
  19. provisioner: cinder
  20. parameters:
  21. fstype: xfs
  22. vsphere:
  23. provisioner: vsphere-volume
  24. name: standard
  25. parameters:
  26. datastore: "{{ openshift_cloudprovider_vsphere_datastore }}"
  27. openshift_storageclass_default: "true"
  28. openshift_storageclass_name: "{{ openshift_storageclass_defaults[openshift_cloudprovider_kind]['name'] }}"
  29. openshift_storageclass_provisioner: "{{ openshift_storageclass_defaults[openshift_cloudprovider_kind]['provisioner'] }}"
  30. openshift_storageclass_parameters: "{{ openshift_storageclass_defaults[openshift_cloudprovider_kind]['parameters'] }}"