fix(network): bind NM connections to detected interface names for multi-NIC

This commit is contained in:
2026-02-21 16:51:15 +01:00
parent 45df803131
commit 5b8438ac3b

View File

@@ -2,7 +2,7 @@
- name: Copy NetworkManager keyfile per interface
vars:
configuration_iface: "{{ item }}"
configuration_iface_name: "{{ item.name | default('') }}"
configuration_iface_name: "{{ item.name | default(configuration_detected_interfaces[idx] | default('')) }}"
configuration_net_uuid: "{{ ('LAN-' ~ idx ~ '-' ~ hostname) | ansible.builtin.to_uuid }}"
ansible.builtin.template:
src: network.j2