main.yml 880 B

1234567891011121314
  1. ---
  2. hosted_base: "{{ openshift.common.config_base if openshift_is_containerized | bool else '/usr/share/openshift' }}/hosted"
  3. hosted_deployment_type: "{{ 'origin' if openshift_deployment_type == 'origin' else 'enterprise' }}"
  4. content_version: "{{ openshift_examples_content_version }}"
  5. openshift_hosted_images_dict:
  6. origin: 'docker.io/openshift/origin-${component}:${version}'
  7. openshift-enterprise: 'registry.redhat.io/openshift3/ose-${component}:${version}'
  8. openshift_hosted_templates_registryurl: "{{ oreg_url | default(openshift_hosted_images_dict[openshift_deployment_type]) | regex_replace('${version}' | regex_escape, openshift_image_tag | default('${version}')) }}"
  9. registry_host: "{{ openshift_hosted_templates_registryurl.split('/')[0] if '.' in openshift_hosted_templates_registryurl.split('/')[0] else '' }}"
  10. openshift_hosted_templates_import_command: 'create'