Update 'prepare_k8s.yml'

master
alecsandru 9 months ago
parent 53e3a55011
commit f8f00a36e3
  1. 10
      prepare_k8s.yml

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

Loading…
Cancel
Save