summaryrefslogtreecommitdiff
path: root/roles/netfwd/tasks/main.yml
blob: 3ba74ab4580067beac6264e8454804d126c10fce (plain) (blame)
1
2
3
4
5
6
7
8
9
- name: Configure IPv4 packet forwarding
  ansible.builtin.copy:
    src: files/99-net-ipv4-forward.conf
    dest: /etc/sysctl.d/99-net-ipv4-forward.conf
    owner: root
    group: root
    mode: u+rw,g+r,o+r
  notify:
    - Restart systemd-sysctl