瀏覽代碼

prepull: set async to 0 so that task wouldn't block others

Vadim Rutkovsky 6 年之前
父節點
當前提交
17929f0b58
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      roles/openshift_control_plane/tasks/main.yml
  2. 1 1
      roles/openshift_node/tasks/config.yml

+ 1 - 1
roles/openshift_control_plane/tasks/main.yml

@@ -23,7 +23,7 @@
   when: control_plane_image.stdout_lines == []
   # 10 minutes to pull the image
   async: 600
-  poll: 10
+  poll: 0
   register: image_prepull
 
 - name: Open up firewall ports

+ 1 - 1
roles/openshift_node/tasks/config.yml

@@ -12,7 +12,7 @@
   when: node_image.stdout_lines == []
   # 10 minutes to pull the image
   async: 600
-  poll: 10
+  poll: 0
   register: image_prepull
 
 - name: Install the systemd units