Initial commit

This commit is contained in:
2026-02-21 16:54:18 +01:00
commit 0cf33cd95b
80 changed files with 8042 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
---
- name: Create VXLAN interface
community.routeros.command:
commands:
- /interface vxlan add name="vxlan{{ gateway_config.vni }}" vni={{ gateway_config.vni }} interface="wg-{{ gateway_config.lab_name }}" port=4789
- name: Configure VXLAN vteps
community.routeros.command:
commands:
- /interface vxlan vteps add interface="vxlan{{ gateway_config.vni }}" remote-ip={{ peer.wg_ip }}
loop: "{{ gateway_config.peers }}"
loop_control:
loop_var: peer