Bladeren bron

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

Vadim Rutkovsky 6 jaren geleden
bovenliggende
commit
17929f0b58
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  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 == []
   when: control_plane_image.stdout_lines == []
   # 10 minutes to pull the image
   # 10 minutes to pull the image
   async: 600
   async: 600
-  poll: 10
+  poll: 0
   register: image_prepull
   register: image_prepull
 
 
 - name: Open up firewall ports
 - name: Open up firewall ports

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

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