Sfoglia il codice sorgente

add oreg_url check

Mangirdas 6 anni fa
parent
commit
438da2b826
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      playbooks/azure/openshift-cluster/build_node_image.yml

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

@@ -85,7 +85,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: