aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/network/tasks/main.yml
blob: 1443e0c0a79e18a026547a668d93053f1f79c3d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
- 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
    value: "1"
    sysctl_set: yes