From 23cac351c670037c0838074f4a08e2286209dbc4 Mon Sep 17 00:00:00 2001 From: thebigbone Date: Sat, 6 Apr 2024 19:31:17 +0530 Subject: [PATCH] fix some commands --- playbook.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/playbook.yml b/playbook.yml index bb8fc83..d2bd8b3 100644 --- a/playbook.yml +++ b/playbook.yml @@ -41,7 +41,7 @@ lineinfile: path: /etc/containerd/config.toml regexp: '^SystemdCgroup =' - line: 'SystemdCgroup = true' + line: 'SystemdCgroup = true' # fix this shit, its not replacing the correct SystemdCgroup - name: turn off swap command: swapoff -a @@ -53,6 +53,9 @@ line: 'net.ipv4.ip_forward=1' state: present + - name: edit /proc/sys/net/ipv4/ip_forward + command: echo "1" | sudo tee /proc/sys/net/ipv4/ip_forward + - name: check if GPG key file exists stat: path: /etc/apt/keyrings/kubernetes-apt-keyring.gpg