From 4b82e90dcb2ee4cfbfa76088f148341bf26e7424 Mon Sep 17 00:00:00 2001 From: spnngl Date: Thu, 30 May 2024 15:34:25 +0200 Subject: [PATCH] fix(bootstrap-os): do not install pkgs requirements on flatcar (#11224) Fix regression added in 663fcd104c38ddc2bf8c023f6f6b3705048d531e for flatcar nodes. See: https://github.com/kubernetes-sigs/kubespray/commit/663fcd104c38ddc2bf8c023f6f6b3705048d531e --- roles/kubernetes/preinstall/tasks/0070-system-packages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/kubernetes/preinstall/tasks/0070-system-packages.yml b/roles/kubernetes/preinstall/tasks/0070-system-packages.yml index 7085ffb0c..47affa10c 100644 --- a/roles/kubernetes/preinstall/tasks/0070-system-packages.yml +++ b/roles/kubernetes/preinstall/tasks/0070-system-packages.yml @@ -82,5 +82,6 @@ until: pkgs_task_result is succeeded retries: "{{ pkg_install_retries }}" delay: "{{ retry_stagger | random + 3 }}" + when: not (ansible_os_family in ["Flatcar", "Flatcar Container Linux by Kinvolk"] or is_fedora_coreos) tags: - bootstrap-os