mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2025-05-05 01:16:20 +02:00
Enable br_netfilter module for Ubuntu
This commit is contained in:
parent
4a4c88b6b8
commit
671f45d286
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user