summaryrefslogtreecommitdiffstats
path: root/roles/openshift_examples
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-07-05 11:03:47 -0400
committerGitHub <noreply@github.com>2016-07-05 11:03:47 -0400
commit6bddc67edcf70cec619c7d89ffd25a7336fece9a (patch)
treeb410a4017b26dd91820863505f22e2a97f919c70 /roles/openshift_examples
parent3c15d29e2eec5dd5f5022706220f249bc3dfb245 (diff)
parent63673919ae66cd0d963f46a3fe9c5f0c92a1331a (diff)
downloadopenshift-6bddc67edcf70cec619c7d89ffd25a7336fece9a.tar.gz
openshift-6bddc67edcf70cec619c7d89ffd25a7336fece9a.tar.bz2
openshift-6bddc67edcf70cec619c7d89ffd25a7336fece9a.tar.xz
openshift-6bddc67edcf70cec619c7d89ffd25a7336fece9a.zip
Merge pull request #2085 from sdodson/is-munging
Make image stream munging optional
Diffstat (limited to 'roles/openshift_examples')
-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