summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted_templates
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-10-24 11:14:44 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-10-24 11:14:44 -0400
commit6c35a91d98f7b01e2acadb15e2810cda9af34dcb (patch)
tree5f6020b5770c8cacc7c1cff97ab641604afa38d1 /roles/openshift_hosted_templates
parent0b5efd2162490c9df762809b94afc2224c0fe8be (diff)
downloadopenshift-6c35a91d98f7b01e2acadb15e2810cda9af34dcb.tar.gz
openshift-6c35a91d98f7b01e2acadb15e2810cda9af34dcb.tar.bz2
openshift-6c35a91d98f7b01e2acadb15e2810cda9af34dcb.tar.xz
openshift-6c35a91d98f7b01e2acadb15e2810cda9af34dcb.zip
Default infra template modification based on openshift_examples_modify_imagestreams
Diffstat (limited to 'roles/openshift_hosted_templates')
-rw-r--r--roles/openshift_hosted_templates/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/openshift_hosted_templates/tasks/main.yml b/roles/openshift_hosted_templates/tasks/main.yml
index 45b35da92..7d176bce3 100644
--- a/roles/openshift_hosted_templates/tasks/main.yml
+++ b/roles/openshift_hosted_templates/tasks/main.yml
@@ -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