diff options
author | Andrew Butcher <abutcher@redhat.com> | 2016-10-24 11:14:44 -0400 |
---|---|---|
committer | Andrew Butcher <abutcher@redhat.com> | 2016-10-24 11:14:44 -0400 |
commit | 6c35a91d98f7b01e2acadb15e2810cda9af34dcb (patch) | |
tree | 5f6020b5770c8cacc7c1cff97ab641604afa38d1 | |
parent | 0b5efd2162490c9df762809b94afc2224c0fe8be (diff) | |
download | openshift-6c35a91d98f7b01e2acadb15e2810cda9af34dcb.tar.gz openshift-6c35a91d98f7b01e2acadb15e2810cda9af34dcb.tar.bz2 openshift-6c35a91d98f7b01e2acadb15e2810cda9af34dcb.tar.xz openshift-6c35a91d98f7b01e2acadb15e2810cda9af34dcb.zip |
Default infra template modification based on openshift_examples_modify_imagestreams
-rw-r--r-- | roles/openshift_hosted_templates/tasks/main.yml | 2 |
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 |