computer-playbook/roles/wireguard/handlers/main.yml

10 lines
236 B
YAML
Raw Normal View History

- name: "restart wireguard"
systemd:
2024-01-11 11:24:40 +01:00
name: wg-quick@wg0.cymais.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'"