Add Wireguard playbook and first commit
This commit is contained in:
16
roles/homelab/wireguard/handlers/main.yml
Normal file
16
roles/homelab/wireguard/handlers/main.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
|
||||
- name: "restart wireguard"
|
||||
ansible.builtin.systemd:
|
||||
name: "wg-quick@{{ wireguard_interface }}"
|
||||
state: restarted
|
||||
|
||||
- name: "restart nftables"
|
||||
ansible.builtin.systemd:
|
||||
name: "nftables"
|
||||
state: restarted
|
||||
|
||||
- name: "restart named"
|
||||
ansible.builtin.systemd:
|
||||
name: "named"
|
||||
state: restarted
|
||||
Reference in New Issue
Block a user