소스 검색

add oreg_url check

Mangirdas 6 년 전
부모
커밋
438da2b826
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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: