2020-12-29 11:40:13 +01:00
|
|
|
- name: "restart wireguard"
|
|
|
|
systemd:
|
|
|
|
name: wg-quick@wg0.service
|
|
|
|
state: restarted
|
|
|
|
enabled: yes
|
|
|
|
daemon_reload: yes
|
2023-04-18 18:24:55 +02:00
|
|
|
|
|
|
|
- name: "reload sysctl configuration"
|
|
|
|
shell: "sysctl --load='/etc/sysctl.d/wireguard-ip.conf'"
|