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
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:
@@ -56,7 +56,7 @@
|
||||
loop: "{{ en_interfaces }}"
|
||||
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 }}"
|
||||
loop: "{{ en_interfaces | zip(wol_enabled.results, wol_supported.results) | list }}"
|
||||
loop_control:
|
||||
|
||||
Reference in New Issue
Block a user