From 4399a9cd5597e9471a4046aaede8cbebf8803a25 Mon Sep 17 00:00:00 2001
From: Stein van Broekhoven <stein@aapjeisbaas.nl>
Date: Tue, 1 Apr 2025 14:12:46 +0200
Subject: [PATCH] add log line for the successful address selection

---
 plugins/inventory/proxmox.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/inventory/proxmox.py b/plugins/inventory/proxmox.py
index 8eb6c9d77b..3059bd1e7c 100644
--- a/plugins/inventory/proxmox.py
+++ b/plugins/inventory/proxmox.py
@@ -381,6 +381,7 @@ class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable):
                 if 'gateway' not in iface:
                     self.display.vvv(f"Interface {iface['iface']} on node {node} does not have a gateway")
                     continue
+                self.display.vv(f"Using interface {iface['iface']} on node {node} with address {iface['address']} as node ip for ansible_host")
                 return iface['address']
             except Exception:
                 continue