feat: Manage ipforwarding

This commit is contained in:
2026-09-17 11:57:38 +02:00
parent 1982bb584d
commit 4b6c7219aa
4 changed files with 27 additions and 0 deletions
+11
View File
@@ -18,3 +18,14 @@
mode: u=rw,g=,o=
become: true
notify: Restart nftables.service
- name: Enable IP forwarding
ansible.builtin.template:
src: 100-ip_forwarding.conf.j2
dest: "{{ nftables_ip_forwarding_path }}"
owner: root
group: root
mode: u=rw,g=r,o=r
when: nftables_ip_forwarding_path | length > 0
become: true
notify: Enable 100-ip_forwarding.conf