From ed28e9a5929aaa305d5d9db38da96887184b3338 Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Thu, 19 May 2016 11:17:32 -0400 Subject: If registry_url != registry.access.redhat.com then modify image streams --- roles/openshift_examples/defaults/main.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roles/openshift_examples/defaults') diff --git a/roles/openshift_examples/defaults/main.yml b/roles/openshift_examples/defaults/main.yml index 976ff7702..d88014bea 100644 --- a/roles/openshift_examples/defaults/main.yml +++ b/roles/openshift_examples/defaults/main.yml @@ -20,3 +20,5 @@ infrastructure_origin_base: "{{ examples_base }}/infrastructure-templates/origin infrastructure_enterprise_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 '' }}" \ No newline at end of file -- cgit v1.2.3