summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted_templates/defaults
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-10-07 16:58:36 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-10-21 16:37:51 -0400
commit9293059f5d331e26fc86c9fc841e2a57fcba8ae6 (patch)
tree3ad52f5b0112fc411ac4a52f9a9a1b3a1fc8e26a /roles/openshift_hosted_templates/defaults
parentb5570b656e59756ad6ea5b24be253f15d0e3ca41 (diff)
downloadopenshift-9293059f5d331e26fc86c9fc841e2a57fcba8ae6.tar.gz
openshift-9293059f5d331e26fc86c9fc841e2a57fcba8ae6.tar.bz2
openshift-9293059f5d331e26fc86c9fc841e2a57fcba8ae6.tar.xz
openshift-9293059f5d331e26fc86c9fc841e2a57fcba8ae6.zip
Move infrastructure templates into openshift_hosted_templates role.
Diffstat (limited to 'roles/openshift_hosted_templates/defaults')
-rw-r--r--roles/openshift_hosted_templates/defaults/main.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/openshift_hosted_templates/defaults/main.yml b/roles/openshift_hosted_templates/defaults/main.yml
new file mode 100644
index 000000000..f4fd15089
--- /dev/null
+++ b/roles/openshift_hosted_templates/defaults/main.yml
@@ -0,0 +1,10 @@
+---
+hosted_base: "{{ openshift.common.config_base if openshift.common.is_containerized | bool else '/usr/share/openshift' }}/hosted"
+hosted_deployment_type: "{{ 'origin' if openshift_deployment_type == 'origin' else 'enterprise' }}"
+
+content_version: "{{ openshift.common.examples_content_version }}"
+
+registry_url: ""
+registry_host: "{{ registry_url.split('/')[0] if '.' in registry_url.split('/')[0] else '' }}"
+
+openshift_hosted_templates_import_command: 'create'