5df1156cc2
Change-Id: Iaceef08bde7bdee153040afdcfd800c7c4141c07 Story: 2003056 Task: 23093
12 lines
390 B
YAML
12 lines
390 B
YAML
---
|
|
- name: Ensure IP routing sysctls are set
|
|
sysctl:
|
|
name: "{{ item.name }}"
|
|
value: "{{ item.value }}"
|
|
sysctl_set: "yes"
|
|
with_items:
|
|
- { name: "net.ipv4.ip_forward", value: 1}
|
|
- { name: "net.ipv4.conf.all.rp_filter", value: "{{ ip_routing_rp_filter_mode }}"}
|
|
- { name: "net.ipv4.conf.default.rp_filter", value: "{{ ip_routing_rp_filter_mode }}"}
|
|
become: True
|