mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-06-03 05:58:02 -02:30
Add reload yes to reload sysctl if the value of net.ipv4.ip_forward changes.
- name: Enable ip forwarding
sysctl:
sysctl_file: "{{sysctl_file_path}}"
name: net.ipv4.ip_forward
value: 1
state: present
reload: yes
tags:
- bootstrap-os
6.9 KiB
6.9 KiB