diff --git a/roles/kubernetes/preinstall/tasks/main.yml b/roles/kubernetes/preinstall/tasks/main.yml
index 2b49b184d2e1f17b5667594840c316fa3ac49d0e..1cbf55b78680163b0c22393a59319e5cf107d396 100644
--- a/roles/kubernetes/preinstall/tasks/main.yml
+++ b/roles/kubernetes/preinstall/tasks/main.yml
@@ -97,6 +97,14 @@
     - canal
     - bootstrap-os
 
+- include: resolvconf.yml
+  when:
+    - dns_mode != 'none'
+    - resolvconf_mode == 'host_resolvconf'
+  tags:
+    - bootstrap-os
+    - resolvconf
+
 - name: Update package management cache (YUM)
   yum:
     update_cache: yes
@@ -249,14 +257,6 @@
     - bootstrap-os
     - etchosts
 
-- include: resolvconf.yml
-  when:
-    - dns_mode != 'none'
-    - resolvconf_mode == 'host_resolvconf'
-  tags:
-    - bootstrap-os
-    - resolvconf
-
 - include: dhclient-hooks.yml
   when:
     - dns_mode != 'none'