Compare commits
2 Commits
ae582e976e
...
23cac351c6
Author | SHA1 | Date |
---|---|---|
thebigbone | 23cac351c6 | |
thebigbone | da6e87fa1e |
|
@ -16,8 +16,8 @@
|
|||
- containerd
|
||||
state: present
|
||||
|
||||
- name: create br_filter
|
||||
command: modprobe br_filter
|
||||
- name: create br_netfilter
|
||||
command: modprobe br_netfilter
|
||||
|
||||
- name: create a containerd directory
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue