fix some commands

main
thebigbone 2024-04-06 19:31:17 +05:30
parent da6e87fa1e
commit 23cac351c6
1 changed files with 4 additions and 1 deletions

View File

@ -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