mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-04 17:31:33 +02:00
Merged client playbook and server playbook
This commit is contained in:
16
roles/pc_application-wireguard/handlers/main.yml
Normal file
16
roles/pc_application-wireguard/handlers/main.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
- name: "restart set-mtu.service"
|
||||
systemd:
|
||||
name: set-mtu.service
|
||||
state: restarted
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
|
||||
- name: "restart wireguard"
|
||||
systemd:
|
||||
name: wg-quick@wg0.service
|
||||
state: restarted
|
||||
enabled: yes
|
||||
daemon_reload: yes
|
||||
|
||||
- name: "reload sysctl configuration"
|
||||
shell: "sysctl -p"
|
Reference in New Issue
Block a user