Enable br_netfilter module for Ubuntu

This commit is contained in:
ystkfujii 2023-01-29 00:29:35 +09:00
parent 4a4c88b6b8
commit 671f45d286

View File

@ -7,6 +7,14 @@
ansible_distribution != 'Debian'
or ansible_distribution_major_version | int < 10
- name: Enable br_netfilter module
modprobe:
name: br_netfilter
state: present
when: >
ansible_distribution != 'Debian'
or ansible_distribution_major_version | int < 10
# See: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#letting-iptables-see-bridged-traffic
- name: Let iptables see bridged traffic.
sysctl: