From 918caea5f56e5514443c15d38989afad67704a36 Mon Sep 17 00:00:00 2001 From: Jose Date: Sun, 21 Dec 2025 14:47:36 +0100 Subject: [PATCH] =?UTF-8?q?feat=20=E2=9C=A8:=20Add=20debug=20task=20to=20l?= =?UTF-8?q?og=20detected=20default=20route=20interface?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Introduce a new debug task that logs the detected default route interface, enhancing network diagnostics and troubleshooting capabilities. --- tasks/main.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 50fbd35..fa82669 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -15,6 +15,11 @@ wol_detected_interface: "{{ ansible_default_ipv4.interface }}" when: wol_interface | length == 0 +- name: Debug default route interface + ansible.builtin.debug: + msg: "Detected default route: {{ wol_detected_interface }}" + when: wol_interface | length == 0 + - name: Validate detected interface is physical ansible.builtin.set_fact: wol_interface_final: "{{ wol_detected_interface }}"