From ce2d0f3cd4fd5eb1d36071a5943bc5c309565491 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 5 Oct 2023 12:42:29 +0200 Subject: [PATCH] proxmox: add interfaces for fabric links Same as debian. --- roles/proxmox/tasks/main.yml | 7 +++++++ {roles/debian/templates => templates}/fabric.intf.j2 | 0 2 files changed, 7 insertions(+) rename {roles/debian/templates => templates}/fabric.intf.j2 (100%) diff --git a/roles/proxmox/tasks/main.yml b/roles/proxmox/tasks/main.yml index 6f88e05..0aec069 100644 --- a/roles/proxmox/tasks/main.yml +++ b/roles/proxmox/tasks/main.yml @@ -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 diff --git a/roles/debian/templates/fabric.intf.j2 b/templates/fabric.intf.j2 similarity index 100% rename from roles/debian/templates/fabric.intf.j2 rename to templates/fabric.intf.j2