proxmox: add initial support for L2 VXLAN

I heard we like L2 so I put some L2 in our L3 so we can L2 as we L3 on L2.
This commit is contained in:
Timotej Lazar 2023-10-18 15:01:02 +02:00
parent c9bb03ea36
commit 0c1cc14e01
8 changed files with 126 additions and 10 deletions

View file

@ -13,6 +13,13 @@
apt_repository:
repo: 'deb http://download.proxmox.com/debian/pve {{ ansible_distribution_release }} pve-no-subscription'
- name: Add rules to rename network interfaces
template:
dest: /etc/udev/rules.d/10-network.rules
src: 10-network.rules.j2
mode: 0644
notify: reboot
- name: Set up loopback interface
template:
dest: /etc/network/interfaces.d/loopback.intf
@ -27,6 +34,13 @@
mode: 0644
notify: reload interfaces
- name: Set up interfaces
template:
dest: /etc/network/interfaces
src: interfaces.j2
mode: 0644
notify: reload interfaces
- include_tasks: mgmt.yml
- include_tasks: sdn.yml