Browse Source

Merge pull request #2649 from abutcher/default-modify-imagestreams

Default infra template modification based on openshift_examples_modify_imagestreams
Andrew Butcher 8 years ago
parent
commit
0eaa3699e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_hosted_templates/tasks/main.yml

+ 1 - 1
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