This repository has been archived on 2023-03-15. You can view files and clone it, but cannot push or open issues or pull requests.
infrastructure/os_config/roles/network/tasks/main.yml

12 lines
299 B
YAML
Raw Normal View History

2019-06-01 14:02:49 +00:00
- name: "Deploy iptablesv4 configuration"
template: src=rules.v4.j2 dest=/etc/iptables/rules.v4
- name: "Deploy iptablesv6 configuration"
copy: src=rules.v6 dest=/etc/iptables/rules.v6
- name: "Activate IP forwarding"
sysctl:
name: net.ipv4.ip_forward
2020-07-05 18:15:28 +00:00
value: "1"
2019-06-01 14:02:49 +00:00
sysctl_set: yes