summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@afrolegs.com>2016-10-24 13:24:58 -0400
committerGitHub <noreply@github.com>2016-10-24 13:24:58 -0400
commit0eaa3699e7754d38b9f2b8b06d746b1cb61bc6ce (patch)
tree5f6020b5770c8cacc7c1cff97ab641604afa38d1 /roles
parent0b5efd2162490c9df762809b94afc2224c0fe8be (diff)
parent6c35a91d98f7b01e2acadb15e2810cda9af34dcb (diff)
downloadopenshift-0eaa3699e7754d38b9f2b8b06d746b1cb61bc6ce.tar.gz
openshift-0eaa3699e7754d38b9f2b8b06d746b1cb61bc6ce.tar.bz2
openshift-0eaa3699e7754d38b9f2b8b06d746b1cb61bc6ce.tar.xz
openshift-0eaa3699e7754d38b9f2b8b06d746b1cb61bc6ce.zip
Merge pull request #2649 from abutcher/default-modify-imagestreams
Default infra template modification based on openshift_examples_modify_imagestreams
Diffstat (limited to 'roles')
-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