11 lines
239 B
YAML
11 lines
239 B
YAML
- name: "enable ipv4 forwarding"
|
|
ansible.posix.sysctl:
|
|
name: "net.ipv4.ip_forward"
|
|
value: "1"
|
|
sysctl_file: "/etc/sysctl.d/local.conf"
|
|
reload: true
|
|
|
|
- name: "install wireguard"
|
|
ansible.builtin.apt:
|
|
name: "wireguard"
|