From baba7310a9affeb8cea08c09490f29a1c32c29ec Mon Sep 17 00:00:00 2001 From: rtsp Date: Fri, 24 Sep 2021 21:55:23 +0700 Subject: [PATCH] Ensure apparmor is installed (#8011) Kubespray deployment failed when using containerd backend on nodes that apparmor was not installed or previously removed. This PR ensure apparmor is installed by adding it into required_pkgs var. --- roles/kubernetes/preinstall/vars/debian-11.yml | 1 + roles/kubernetes/preinstall/vars/debian.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/roles/kubernetes/preinstall/vars/debian-11.yml b/roles/kubernetes/preinstall/vars/debian-11.yml index 140921d73d4..0006296fd96 100644 --- a/roles/kubernetes/preinstall/vars/debian-11.yml +++ b/roles/kubernetes/preinstall/vars/debian-11.yml @@ -6,3 +6,4 @@ required_pkgs: - software-properties-common - conntrack - iptables + - apparmor diff --git a/roles/kubernetes/preinstall/vars/debian.yml b/roles/kubernetes/preinstall/vars/debian.yml index 8eda89b4e02..e5422b71a2b 100644 --- a/roles/kubernetes/preinstall/vars/debian.yml +++ b/roles/kubernetes/preinstall/vars/debian.yml @@ -5,3 +5,4 @@ required_pkgs: - apt-transport-https - software-properties-common - conntrack + - apparmor