From 8e1d095ead05126d707d904ae13df00c9508d520 Mon Sep 17 00:00:00 2001 From: Jose Date: Fri, 26 Dec 2025 12:11:18 +0100 Subject: [PATCH] =?UTF-8?q?feat=20=E2=9C=A8:=20Add=20loop=20and=20conditio?= =?UTF-8?q?n=20to=20process=20en=5Finterfaces?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit introduces a new loop and conditional logic to handle the processing of `en_interfaces`, enhancing the functionality of the system by allowing more comprehensive interface management. --- tasks/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 7a828f8..730a67b 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -82,6 +82,9 @@ | map('extract', hostvars[inventory_hostname]['ansible_' ~ item] | default({}), 'macaddress') | list }} + loop: "{{ en_interfaces }}" + when: en_interfaces | length > 0 + - name: Report WOL configuration ansible.builtin.debug: