fix: derive cluster network interface from host facts
The Proxmox Ubuntu clones are exposing their primary NIC as eth0, not ens18. Use ansible_default_ipv4.interface for k3s flannel and kube-vip so bootstrap tracks the actual interface name instead of a guessed template default.
This commit is contained in:
@@ -6,7 +6,7 @@ k3s_primary_public_ip: ""
|
||||
k3s_disable_embedded_ccm: false
|
||||
k3s_disable_servicelb: true
|
||||
k3s_kubelet_cloud_provider_external: false
|
||||
k3s_flannel_iface: ens18
|
||||
k3s_flannel_iface: "{{ ansible_default_ipv4.interface | default('eth0') }}"
|
||||
# Load Balancer endpoint for HA cluster joins (set in inventory)
|
||||
kube_api_endpoint: ""
|
||||
# Tailscale DNS names for control planes (to enable tailnet access)
|
||||
|
||||
Reference in New Issue
Block a user