Parcourir la source

Default infra template modification based on openshift_examples_modify_imagestreams

Andrew Butcher il y a 8 ans
Parent
commit
6c35a91d98
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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