ansible/roles/ip_forward/tasks/main.yaml

9 lines
161 B
YAML
Raw Normal View History

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