diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2016-06-23 10:40:58 -0300 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2016-06-23 10:40:58 -0300 |
commit | b85c47761db579b2153b08018ed74c7650b388f5 (patch) | |
tree | 63fa53d0e3f9edada1b3b5aca43ac957f5c276d9 /roles/openshift_examples/tasks | |
parent | ea99abc4461f3e2edb7993b9c7961a13c727ab7c (diff) | |
parent | 7ac20f9cef4dbbf9787e757dd1938d28483a22a7 (diff) | |
download | openshift-b85c47761db579b2153b08018ed74c7650b388f5.tar.gz openshift-b85c47761db579b2153b08018ed74c7650b388f5.tar.bz2 openshift-b85c47761db579b2153b08018ed74c7650b388f5.tar.xz openshift-b85c47761db579b2153b08018ed74c7650b388f5.zip |
Merge branch 'master' into upgrade33
Diffstat (limited to 'roles/openshift_examples/tasks')
-rw-r--r-- | roles/openshift_examples/tasks/main.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/openshift_examples/tasks/main.yml b/roles/openshift_examples/tasks/main.yml index a5731be09..fb10188f2 100644 --- a/roles/openshift_examples/tasks/main.yml +++ b/roles/openshift_examples/tasks/main.yml @@ -4,6 +4,11 @@ src: "examples/{{ content_version }}/" dest: "{{ examples_base }}/" +- 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 != '' + # RHEL and Centos image streams are mutually exclusive - name: Import RHEL streams command: > |