main.yml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. ---
  2. openshift_cli_image_dict:
  3. origin: 'openshift/origin'
  4. openshift-enterprise: 'openshift3/ose'
  5. openshift_hosted_images_dict:
  6. origin: 'openshift/origin-${component}:${version}'
  7. openshift-enterprise: 'openshift3/ose-${component}:${version}'
  8. openshift_cli_image: "{{ osm_image | default(openshift_cli_image_dict[openshift_deployment_type]) }}"
  9. # osm_default_subdomain is an old migrated fact, can probably be removed.
  10. osm_default_subdomain: "router.default.svc.cluster.local"
  11. openshift_master_default_subdomain: "{{ osm_default_subdomain }}"
  12. openshift_hosted_etcd_storage_nfs_directory: '/exports'
  13. openshift_hosted_etcd_storage_nfs_options: '*(rw,root_squash)'
  14. openshift_hosted_etcd_storage_volume_name: 'etcd'
  15. openshift_hosted_etcd_storage_volume_size: '1Gi'
  16. openshift_hosted_etcd_storage_create_pv: True
  17. openshift_hosted_etcd_storage_create_pvc: False
  18. openshift_hosted_etcd_storage_access_modes:
  19. - 'ReadWriteOnce'
  20. openshift_hosted_registry_namespace: 'default'
  21. openshift_hosted_registry_storage_volume_name: 'registry'
  22. openshift_hosted_registry_storage_volume_size: '5Gi'
  23. openshift_hosted_registry_storage_create_pv: True
  24. openshift_hosted_registry_storage_create_pvc: True
  25. openshift_hosted_registry_storage_nfs_directory: '/exports'
  26. openshift_hosted_registry_storage_nfs_options: '*(rw,root_squash)'
  27. openshift_hosted_registry_storage_glusterfs_endpoints: 'glusterfs-registry-endpoints'
  28. openshift_hosted_registry_storage_glusterfs_path: glusterfs-registry-volume
  29. openshift_hosted_registry_storage_glusterfs_readOnly: False
  30. openshift_hosted_registry_storage_glusterfs_swap: False
  31. openshift_hosted_registry_storage_glusterfs_swapcopy: True
  32. openshift_hosted_registry_storage_glusterfs_ips: []
  33. openshift_hosted_registry_storage_access_modes:
  34. - 'ReadWriteMany'
  35. openshift_logging_storage_nfs_directory: '/exports'
  36. openshift_logging_storage_nfs_options: '*(rw,root_squash)'
  37. openshift_logging_storage_volume_name: 'logging-es'
  38. openshift_logging_storage_create_pv: True
  39. openshift_logging_storage_create_pvc: False
  40. openshift_logging_storage_access_modes:
  41. - ['ReadWriteOnce']
  42. openshift_loggingops_storage_volume_name: 'logging-es-ops'
  43. openshift_loggingops_storage_volume_size: '10Gi'
  44. openshift_loggingops_storage_create_pv: True
  45. openshift_loggingops_storage_create_pvc: False
  46. openshift_loggingops_storage_nfs_directory: '/exports'
  47. openshift_loggingops_storage_nfs_options: '*(rw,root_squash)'
  48. openshift_loggingops_storage_access_modes:
  49. - 'ReadWriteOnce'
  50. openshift_metrics_deploy: False
  51. openshift_metrics_duration: 7
  52. openshift_metrics_resolution: '10s'
  53. openshift_metrics_storage_volume_name: 'metrics'
  54. openshift_metrics_storage_volume_size: '10Gi'
  55. openshift_metrics_storage_create_pv: True
  56. openshift_metrics_storage_create_pvc: False
  57. openshift_metrics_storage_nfs_directory: '/exports'
  58. openshift_metrics_storage_nfs_options: '*(rw,root_squash)'
  59. openshift_metrics_storage_access_modes:
  60. - 'ReadWriteOnce'
  61. openshift_prometheus_storage_volume_name: 'prometheus'
  62. openshift_prometheus_storage_volume_size: '10Gi'
  63. openshift_prometheus_storage_nfs_directory: '/exports'
  64. openshift_prometheus_storage_nfs_options: '*(rw,root_squash)'
  65. openshift_prometheus_storage_access_modes:
  66. - 'ReadWriteOnce'
  67. openshift_prometheus_storage_create_pv: True
  68. openshift_prometheus_storage_create_pvc: False
  69. openshift_prometheus_alertmanager_storage_volume_name: 'prometheus-alertmanager'
  70. openshift_prometheus_alertmanager_storage_volume_size: '10Gi'
  71. openshift_prometheus_alertmanager_storage_nfs_directory: '/exports'
  72. openshift_prometheus_alertmanager_storage_nfs_options: '*(rw,root_squash)'
  73. openshift_prometheus_alertmanager_storage_access_modes:
  74. - 'ReadWriteOnce'
  75. openshift_prometheus_alertmanager_storage_create_pv: True
  76. openshift_prometheus_alertmanager_storage_create_pvc: False
  77. openshift_prometheus_alertbuffer_storage_volume_name: 'prometheus-alertbuffer'
  78. openshift_prometheus_alertbuffer_storage_volume_size: '10Gi'
  79. openshift_prometheus_alertbuffer_storage_nfs_directory: '/exports'
  80. openshift_prometheus_alertbuffer_storage_nfs_options: '*(rw,root_squash)'
  81. openshift_prometheus_alertbuffer_storage_access_modes:
  82. - 'ReadWriteOnce'
  83. openshift_prometheus_alertbuffer_storage_create_pv: True
  84. openshift_prometheus_alertbuffer_storage_create_pvc: False
  85. openshift_router_selector: "region=infra"
  86. openshift_hosted_router_selector: "{{ openshift_router_selector }}"
  87. openshift_hosted_registry_selector: "{{ openshift_router_selector }}"
  88. openshift_service_type_dict:
  89. origin: origin
  90. openshift-enterprise: atomic-openshift
  91. openshift_service_type: "{{ openshift_service_type_dict[openshift_deployment_type] }}"