From f8a57f75986e3ecfe578f202a9d4bb7cf3a65b70 Mon Sep 17 00:00:00 2001
From: rtsp <git@rtsp.us>
Date: Tue, 14 Sep 2021 22:19:09 +0700
Subject: [PATCH] Fix iptables missing on Debian 11 if
 APT::Install-Recommends=0 (#7964)

On Debian 11, `ipset` just recommend `iptables` so on the system that apt is configured with `APT::Install-Recommends "0";` iptables will not install automatically.
---
 roles/kubernetes/preinstall/vars/debian-11.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/roles/kubernetes/preinstall/vars/debian-11.yml b/roles/kubernetes/preinstall/vars/debian-11.yml
index 6450038f6..140921d73 100644
--- a/roles/kubernetes/preinstall/vars/debian-11.yml
+++ b/roles/kubernetes/preinstall/vars/debian-11.yml
@@ -5,3 +5,4 @@ required_pkgs:
   - apt-transport-https
   - software-properties-common
   - conntrack
+  - iptables
-- 
GitLab