Update 'prepare_k8s.yml'
This commit is contained in:
@@ -42,15 +42,15 @@
|
|||||||
copy:
|
copy:
|
||||||
dest: /etc/sysctl.d/k8s.conf
|
dest: /etc/sysctl.d/k8s.conf
|
||||||
content: |
|
content: |
|
||||||
"net.ipv4.ip_forward = 1"
|
net.ipv4.ip_forward = 1
|
||||||
"net.bridge.bridge-nf-call-iptables = 1"
|
net.bridge.bridge-nf-call-iptables = 1
|
||||||
"net.bridge.bridge-nf-call-ip6tables = 1"
|
net.bridge.bridge-nf-call-ip6tables = 1
|
||||||
- name: Load required modules
|
- name: Load required modules
|
||||||
copy:
|
copy:
|
||||||
dest: /etc/modules-load.d/k8s.conf
|
dest: /etc/modules-load.d/k8s.conf
|
||||||
content: |
|
content: |
|
||||||
"overlay"
|
overlay
|
||||||
"br_netfilter"
|
br_netfilter
|
||||||
- name: Install CriCtl
|
- name: Install CriCtl
|
||||||
command: "{{ item }} chdir=/tmp"
|
command: "{{ item }} chdir=/tmp"
|
||||||
with_items:
|
with_items:
|
||||||
|
Reference in New Issue
Block a user