feat : Add task to display WOL interfaces
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 9s

This feature introduces a new task that allows users to view Wake-On-LAN (WOL) interfaces, enhancing the network management capabilities of the system.
This commit is contained in:
2025-12-24 09:50:39 +01:00
parent 32562bf16a
commit b797877b32

View File

@@ -26,6 +26,11 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
en_interfaces: "{{ ansible_facts.interfaces | select('match', '^en') | list }}" en_interfaces: "{{ ansible_facts.interfaces | select('match', '^en') | list }}"
- name: Display WOL interface
ansible.builtin.debug:
msg: >
{{ en_interfaces }}
# # ============================================================ # # ============================================================
# # Normalize and validate configuration # # Normalize and validate configuration
# # ============================================================ # # ============================================================