feat(ansible): add VPN node configuration automation

This commit is contained in:
2026-06-10 12:36:27 +02:00
parent 89efd6430d
commit 5e6d4c1479
32 changed files with 526 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
---
- name: Start OpenVPN
systemd:
name: "{{ openvpn_service }}"
state: started
enabled: true
- name: Wait for tap0
command: ip link show tap0
register: tap_check
retries: 10
delay: 2
until: tap_check.rc == 0
- name: Bring tap0 up
command: ip link set tap0 up
- name: Attach tap0 to bridge
command: ip link set tap0 master br-main-vpn