From 344e2e5431dbb699d9d6302e77c8c1e637f3f439 Mon Sep 17 00:00:00 2001 From: mojoaar Date: Thu, 17 Jul 2025 06:47:20 +0000 Subject: [PATCH] Update gather.yml --- gather.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gather.yml b/gather.yml index 063eaee..8710b8b 100644 --- a/gather.yml +++ b/gather.yml @@ -16,4 +16,4 @@ - name: Check network interface information debug: - msg: "IP Address of eth0 is {{ ansible_facts['eth0']['ipv4']['address'] }}" \ No newline at end of file + msg: "IP Address is {{ ansible_default_ipv4.address }}" \ No newline at end of file