refactor ♻️: Rename 'wol_capabilities_check' to 'wol_check'
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 12s

Refactored the function name and updated all references throughout the codebase to maintain consistency and improve readability.
This commit is contained in:
2025-12-24 10:44:45 +01:00
parent fb14e6701b
commit 3125c4f230

View File

@@ -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: