mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-15 08:30:46 +02:00
10 lines
245 B
YAML
10 lines
245 B
YAML
- name: "restart wireguard"
|
|
systemd:
|
|
name: wg-quick@wg0{{ SYS_SERVICE_SUFFIX }}
|
|
state: restarted
|
|
enabled: yes
|
|
daemon_reload: yes
|
|
|
|
- name: "reload sysctl configuration"
|
|
shell: "sysctl --load='/etc/sysctl.d/wireguard-ip.conf'"
|