- ---
- hosted_base: "{{ openshift.common.config_base if openshift_is_containerized | bool else '/usr/share/openshift' }}/hosted"
- hosted_deployment_type: "{{ 'origin' if openshift_deployment_type == 'origin' else 'enterprise' }}"
- content_version: "{{ openshift_examples_content_version }}"
- openshift_hosted_images_dict:
- origin: 'openshift/origin-${component}:${version}'
- openshift-enterprise: 'openshift3/ose-${component}:${version}'
- openshift_hosted_templates_registryurl: "{{ oreg_url_master | default(oreg_url) | default(openshift_hosted_images_dict[openshift_deployment_type]) }}"
- registry_host: "{{ openshift_hosted_templates_registryurl.split('/')[0] if '.' in openshift_hosted_templates_registryurl.split('/')[0] else '' }}"
- openshift_hosted_templates_import_command: 'create'
|