feat ✨: Add task to display WOL interfaces
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 9s
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:
@@ -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
|
||||||
# # ============================================================
|
# # ============================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user