refactor ♻️: Rename task from 'Enable Wake-on-LAN (magic packet)' to 'Set Wake-on-LAN'
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 9s

Refactored the task name to be more concise and descriptive, improving clarity and consistency in terminology.
This commit is contained in:
2025-12-26 09:55:17 +01:00
parent 97b2a519eb
commit 9c3cf0dbcc

View File

@@ -56,7 +56,7 @@
loop: "{{ en_interfaces }}" loop: "{{ en_interfaces }}"
when: en_interfaces | length > 0 when: en_interfaces | length > 0
- name: Enable Wake-on-LAN (magic packet) when supported - name: Set Wake-on-LAN
ansible.builtin.command: "ethtool -s {{ item.0 }} wol {{ wol_mode }}" ansible.builtin.command: "ethtool -s {{ item.0 }} wol {{ wol_mode }}"
loop: "{{ en_interfaces | zip(wol_enabled.results, wol_supported.results) | list }}" loop: "{{ en_interfaces | zip(wol_enabled.results, wol_supported.results) | list }}"
loop_control: loop_control: