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: Ensure bridge-utils is installed
apt:
name:
- bridge-utils
- vlan
- iproute2
state: present
- name: Create bridge if missing
command: ip link add br-main-vpn type bridge
register: bridge_create
failed_when: false
changed_when: bridge_create.rc == 0
- name: Bring bridge up
command: ip link set br-main-vpn up
failed_when: false
changed_when: false