proxmox: add interfaces for fabric links

Same as debian.
This commit is contained in:
Timotej Lazar 2023-10-05 12:42:29 +02:00
parent a324da076b
commit ce2d0f3cd4
2 changed files with 7 additions and 0 deletions

View file

@ -1,6 +0,0 @@
{% for iface in hostvars[inventory_hostname].interfaces | selectattr('name', 'match', '^lan') %}
auto {{ iface.name }}
iface {{ iface.name }}
mtu 9216
{% endfor %}

View file

@ -20,6 +20,13 @@
mode: 0644
notify: reload interfaces
- name: Set up fabric interfaces
template:
dest: /etc/network/interfaces.d/fabric.intf
src: fabric.intf.j2
mode: 0644
notify: reload interfaces
- include_tasks: mgmt.yml
- include_tasks: sdn.yml