ansible/roles/ip_forward/tasks/main.yaml
2022-11-17 11:23:25 +01:00

9 lines
161 B
YAML

---
- name: Enable IPv4 forwarding
ansible.posix.sysctl:
name: net.ipv4.ip_forward
value: '1'
sysctl_set: true
state: present
reload: true