mirror of
https://github.com/geerlingguy/ansible-role-kubernetes.git
synced 2025-04-21 01:17:04 +02:00
Add task to reload br_netfilter.
This commit is contained in:
parent
4a4c88b6b8
commit
85401d7795
@ -7,6 +7,12 @@
|
|||||||
ansible_distribution != 'Debian'
|
ansible_distribution != 'Debian'
|
||||||
or ansible_distribution_major_version | int < 10
|
or ansible_distribution_major_version | int < 10
|
||||||
|
|
||||||
|
- name: Load br_netfilter.
|
||||||
|
shell: modprobe br_netfilter
|
||||||
|
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
|
# See: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/#letting-iptables-see-bridged-traffic
|
||||||
- name: Let iptables see bridged traffic.
|
- name: Let iptables see bridged traffic.
|
||||||
sysctl:
|
sysctl:
|
||||||
|
Loading…
Reference in New Issue
Block a user