mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-23 10:45:03 +01:00
10 lines
236 B
YAML
10 lines
236 B
YAML
- name: "restart wireguard"
|
|
systemd:
|
|
name: wg-quick.cymais@wg0.service
|
|
state: restarted
|
|
enabled: yes
|
|
daemon_reload: yes
|
|
|
|
- name: "reload sysctl configuration"
|
|
shell: "sysctl --load='/etc/sysctl.d/wireguard-ip.conf'"
|