From 3125c4f230624293ccb061e326f82628457d607a Mon Sep 17 00:00:00 2001 From: Jose Date: Wed, 24 Dec 2025 10:44:45 +0100 Subject: [PATCH] =?UTF-8?q?refactor=20=E2=99=BB=EF=B8=8F:=20Rename=20'wol?= =?UTF-8?q?=5Fcapabilities=5Fcheck'=20to=20'wol=5Fcheck'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refactored the function name and updated all references throughout the codebase to maintain consistency and improve readability. --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 6f9996e..61606af 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -33,7 +33,7 @@ - name: Validate WOL capability using ethtool for detected interfaces ansible.builtin.command: "ethtool {{ item }}" - register: wol_capabilities_check + register: wol_check changed_when: false failed_when: false loop: "{{ en_interfaces }}" @@ -42,7 +42,7 @@ - name: Display ethtool output for detected interfaces ansible.builtin.debug: msg: > - {{ wol_capabilities_check.results | map(attribute='stdout_lines') | list }} + {{ wol_check.results | map(attribute='stdout_lines') | list }} - name: Build WOL status per interface ansible.builtin.set_fact: