blob: 47e389a7bf8984eb5b9928db3f6b57007103efcb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
- name: Configure IPv4 and IPv6 packet forwarding
ansible.builtin.sysctl:
name: '{{ item }}'
value: '1'
sysctl_set: true
loop:
- net.ipv4.ip_forward
- net.ipv4.conf.all.forwarding
- net.ipv6.conf.all.forwarding
|