Enable IPv6 forwarding

This commit is contained in:
Wojciech Kozlowski 2023-07-25 00:01:49 +02:00
parent d0b3f25f94
commit f944dae2fe

View File

@ -6,6 +6,13 @@
sysctl_file: "/etc/sysctl.d/local.conf" sysctl_file: "/etc/sysctl.d/local.conf"
reload: true reload: true
- name: "enable ipv6 forwarding"
ansible.posix.sysctl:
name: "net.ipv6.conf.all.forwarding"
value: "1"
sysctl_file: "/etc/sysctl.d/local.conf"
reload: true
- name: "script for creating virtual interfaces" - name: "script for creating virtual interfaces"
ansible.builtin.copy: ansible.builtin.copy:
src: "./ip-link-add.sh" src: "./ip-link-add.sh"