---
# By default install rhel and xpaas streams on enterprise installs
openshift_examples_load_centos: "{{ openshift_deployment_type == 'origin' }}"
openshift_examples_load_rhel: "{{ openshift_deployment_type != 'origin' }}"
openshift_examples_load_db_templates: true
openshift_examples_load_xpaas: "{{ openshift_deployment_type != 'origin' }}"
openshift_examples_load_quickstarts: true

content_version: "{{ openshift.common.examples_content_version }}"

examples_base: "{{ openshift.common.config_base if openshift_is_containerized | bool else '/usr/share/openshift' }}/examples"
image_streams_base: "{{ examples_base }}/image-streams"
centos_image_streams:
  - "{{ image_streams_base }}/image-streams-centos7.json"
  - "{{ image_streams_base }}/dotnet_imagestreams_centos.json"
rhel_image_streams:
  - "{{ image_streams_base }}/image-streams-rhel7.json"
  - "{{ image_streams_base }}/dotnet_imagestreams.json"
db_templates_base: "{{ examples_base }}/db-templates"
xpaas_image_streams: "{{ examples_base }}/xpaas-streams/"
xpaas_templates_base: "{{ examples_base }}/xpaas-templates"
quickstarts_base: "{{ examples_base }}/quickstart-templates"
infrastructure_origin_base: "{{ examples_base }}/infrastructure-templates/origin"
infrastructure_enterprise_base: "{{ examples_base }}/infrastructure-templates/enterprise"
cockpit_ui_base: "{{ examples_base }}/infrastructure-templates/enterprise"


openshift_examples_import_command: "create"
registry_url: ""
registry_host: "{{ registry_url.split('/')[0] if '.' in registry_url.split('/')[0] else '' }}"