Browse Source

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

osa - add oreg_url check
OpenShift Merge Robot 6 năm trước cách đây
mục cha
commit
ade3f09d9e
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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: