mirror of
https://github.com/fscotto/infra.git
synced 2026-09-27 19:03:47 +00:00
Document Atlas backend phase one and WireGuard deployment
This commit is contained in:
10
ansible/roles/wireguard_overlay/handlers/main.yml
Normal file
10
ansible/roles/wireguard_overlay/handlers/main.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: Restart WireGuard interface
|
||||
tags: [wireguard, services]
|
||||
ansible.builtin.systemd:
|
||||
name: "wg-quick@{{ wireguard_interface }}.service"
|
||||
state: restarted
|
||||
daemon_reload: true
|
||||
when:
|
||||
- wireguard_overlay_enabled | bool
|
||||
- not ansible_check_mode
|
||||
Reference in New Issue
Block a user