Explorar o código

Merge pull request #10567 from mjudeikis/osa.oreg.url.fix

osa - add oreg_url check
OpenShift Merge Robot %!s(int64=6) %!d(string=hai) anos
pai
achega
ade3f09d9e
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      playbooks/azure/openshift-cluster/build_node_image.yml

+ 3 - 1
playbooks/azure/openshift-cluster/build_node_image.yml

@@ -90,7 +90,9 @@
     copy:
       dest: "/etc/origin/oreg_url"
       content: "{{ oreg_url }}"
-    when: oreg_url is defined
+    when:
+    - oreg_url is defined
+    - oreg_url != ""
 
   - name: create a file with image name
     copy: