Parcourir la source

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 il y a 6 ans
Parent
commit
104f4d61d7
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  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'
     - openshift_deployment_type == 'openshift-enterprise'
     - not openshift_use_crio | bool
     - not openshift_use_crio | bool
 
 
-- name: Start node image prepull
-  import_tasks: prepull.yml
-
 - import_tasks: dnsmasq_install.yml
 - import_tasks: dnsmasq_install.yml
 - import_tasks: dnsmasq.yml
 - import_tasks: dnsmasq.yml
 
 
@@ -32,6 +29,9 @@
     enabled: yes
     enabled: yes
     state: restarted
     state: restarted
 
 
+- name: Start node image prepull
+  import_tasks: prepull.yml
+
 - name: include node installer
 - name: include node installer
   import_tasks: install.yml
   import_tasks: install.yml