From 6c35a91d98f7b01e2acadb15e2810cda9af34dcb Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Mon, 24 Oct 2016 11:14:44 -0400 Subject: Default infra template modification based on openshift_examples_modify_imagestreams --- roles/openshift_hosted_templates/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles') 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 -- cgit v1.2.3