summaryrefslogtreecommitdiffstats
path: root/roles/openshift_examples/defaults/main.yml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-06-17 13:42:10 -0400
committerGitHub <noreply@github.com>2016-06-17 13:42:10 -0400
commit4597740a002236c70d45829bc22e0d0d126a0cbd (patch)
tree8e424b41781f1bd041e0816c05b78c55abadfb24 /roles/openshift_examples/defaults/main.yml
parent5c095116ff23ee1ccbe6ba0407cff0fb05d9980d (diff)
parented28e9a5929aaa305d5d9db38da96887184b3338 (diff)
downloadopenshift-4597740a002236c70d45829bc22e0d0d126a0cbd.tar.gz
openshift-4597740a002236c70d45829bc22e0d0d126a0cbd.tar.bz2
openshift-4597740a002236c70d45829bc22e0d0d126a0cbd.tar.xz
openshift-4597740a002236c70d45829bc22e0d0d126a0cbd.zip
Merge pull request #1925 from sdodson/disconnected-image-streams
If registry_url != registry.access.redhat.com then modify image streams
Diffstat (limited to 'roles/openshift_examples/defaults/main.yml')
-rw-r--r--roles/openshift_examples/defaults/main.yml2
1 files changed, 2 insertions, 0 deletions
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