From 43fccd88ae39c522da9ca9f385135080df34c320 Mon Sep 17 00:00:00 2001 From: ss75710541 <75710541@qq.com> Date: Thu, 17 Mar 2022 10:25:37 +0800 Subject: [PATCH] fix: Update system failed due to kubelet --- roles/host-init/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/host-init/tasks/main.yml b/roles/host-init/tasks/main.yml index bd18b1e..5d5b6e5 100644 --- a/roles/host-init/tasks/main.yml +++ b/roles/host-init/tasks/main.yml @@ -10,6 +10,8 @@ when: OS_ID == "ubuntu" - include: selinux.yml when: OS_ID == "centos" +- include: update.yml + when: is_system_update - include: ulimit.yml - include: ipvs.yml - include: sysctl.yml @@ -19,8 +21,6 @@ when: chronyd_install - include: hostname.yml - include: docker.yml -- include: update.yml - when: is_system_update - include: installKubeadm.yml - include: apiServerDns.yml when: master_vip is defined