Skip to content

Commit

Permalink
Merge pull request openshift#2649 from abutcher/default-modify-images…
Browse files Browse the repository at this point in the history
…treams

Default infra template modification based on openshift_examples_modify_imagestreams
  • Loading branch information
abutcher authored Oct 24, 2016
2 parents 0b5efd2 + 6c35a91 commit 0eaa369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/openshift_hosted_templates/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
- name: Modify registry paths if registry_url is not registry.access.redhat.com
shell: >
find {{ hosted_base }} -type f | xargs -n 1 sed -i 's|registry.access.redhat.com|{{ registry_host | quote }}|g'
when: registry_host != '' and openshift_hosted_modify_imagestreams | default(False) | bool
when: registry_host != '' and openshift_hosted_modify_imagestreams | default(openshift_examples_modify_imagestreams | default(False)) | bool

- name: Create temp directory for kubeconfig
command: mktemp -d /tmp/openshift-ansible-XXXXXX
Expand Down

0 comments on commit 0eaa369

Please sign in to comment.