Explorar el Código

add oreg_url check

Mangirdas hace 6 años
padre
commit
438da2b826
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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: