refactor ♻️: Refactor debug task to include wol_enabled values
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 10s
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 10s
Updated the debug task to display the `wol_enabled` status for all items, enhancing visibility and usability.
This commit is contained in:
@@ -53,9 +53,11 @@
|
|||||||
loop: "{{ en_interfaces }}"
|
loop: "{{ en_interfaces }}"
|
||||||
when: en_interfaces | length > 0
|
when: en_interfaces | length > 0
|
||||||
|
|
||||||
- name: Display var wol_enabled
|
- name: Display wol_enabled values for all items
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
var: wol_enabled.results.stdout
|
msg: "{{ item }}: {{ item.stdout }}"
|
||||||
|
loop: "{{ wol_enabled.results }}"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Check WoL status with ethtool
|
- name: Check WoL status with ethtool
|
||||||
|
|||||||
Reference in New Issue
Block a user