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

10 lines
236 B
YAML

- name: "restart wireguard"
systemd:
name: wg-quick@wg0.cymais.service
state: restarted
enabled: yes
daemon_reload: yes
- name: "reload sysctl configuration"
shell: "sysctl --load='/etc/sysctl.d/wireguard-ip.conf'"