Sysctl reload if needed after IP forward enabling
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
This commit is contained in:
parent
ba0a03a8ba
commit
d9160f19c0
1 changed files with 1 additions and 0 deletions
|
@ -236,6 +236,7 @@
|
|||
name: net.ipv4.ip_forward
|
||||
value: 1
|
||||
state: present
|
||||
reload: yes
|
||||
tags:
|
||||
- bootstrap-os
|
||||
|
||||
|
|
Loading…
Reference in a new issue