aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/roles/router/tasks/main.yml
blob: 6aecdd47b9afb813471ea67cebb2202921bff357 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                             
- name: Set sysctl values
  become: true
  ansible.posix.sysctl:
    name: '{{ item }}'
    value: 1
    reload: true
    sysctl_file: /etc/sysctl.d/99-router.conf
  loop:
    - net.ipv4.ip_forward
    - net.ipv4.conf.all.forwarding
    - net.ipv6.conf.all.forwarding