Jelajahi Sumber

Start node image prepull after CRIO is restarted

This ensures node prepull happens after CRIO is configured and the 
service is not restarted between start and prepull check
Vadim Rutkovsky 6 tahun lalu
induk
melakukan
104f4d61d7
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      roles/openshift_node/tasks/main.yml

+ 3 - 3
roles/openshift_node/tasks/main.yml

@@ -6,9 +6,6 @@
     - openshift_deployment_type == 'openshift-enterprise'
     - not openshift_use_crio | bool
 
-- name: Start node image prepull
-  import_tasks: prepull.yml
-
 - import_tasks: dnsmasq_install.yml
 - import_tasks: dnsmasq.yml
 
@@ -32,6 +29,9 @@
     enabled: yes
     state: restarted
 
+- name: Start node image prepull
+  import_tasks: prepull.yml
+
 - name: include node installer
   import_tasks: install.yml