summaryrefslogtreecommitdiffstats
path: root/roles/openshift_examples/tasks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-06-27 09:00:58 -0400
committerScott Dodson <sdodson@redhat.com>2016-07-05 10:37:56 -0400
commit63673919ae66cd0d963f46a3fe9c5f0c92a1331a (patch)
tree121d2073d06e4b0ddd53cef951eac75862224cb5 /roles/openshift_examples/tasks
parent74cb9eb24b80d2f3146fc27c1cc7c34ccc47a1a5 (diff)
downloadopenshift-63673919ae66cd0d963f46a3fe9c5f0c92a1331a.tar.gz
openshift-63673919ae66cd0d963f46a3fe9c5f0c92a1331a.tar.bz2
openshift-63673919ae66cd0d963f46a3fe9c5f0c92a1331a.tar.xz
openshift-63673919ae66cd0d963f46a3fe9c5f0c92a1331a.zip
Make image stream munging optional
Diffstat (limited to 'roles/openshift_examples/tasks')
-rw-r--r--roles/openshift_examples/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_examples/tasks/main.yml b/roles/openshift_examples/tasks/main.yml
index fb10188f2..4dc4cfb56 100644
--- a/roles/openshift_examples/tasks/main.yml
+++ b/roles/openshift_examples/tasks/main.yml
@@ -7,7 +7,7 @@
- name: Modify registry paths if registry_url is not registry.access.redhat.com
shell: >
find {{ examples_base }} -type f | xargs -n 1 sed -i 's|registry.access.redhat.com|{{ registry_host | quote }}|g'
- when: registry_host != ''
+ when: registry_host != '' and openshift_examples_modify_imagestreams | default(False) | bool
# RHEL and Centos image streams are mutually exclusive
- name: Import RHEL streams