Compare commits
1 Commits
test
...
9ac1187318
| Author | SHA1 | Date | |
|---|---|---|---|
| 9ac1187318 |
@@ -108,15 +108,6 @@
|
||||
loop: "{{ en_interfaces }}"
|
||||
when: en_interfaces | length > 0
|
||||
|
||||
- name: Report WOL configuration
|
||||
ansible.builtin.debug:
|
||||
msg: |
|
||||
Wake-on-LAN Configuration Summary:
|
||||
===================================
|
||||
Physical Interfaces: {{ en_interfaces | join(', ') }}
|
||||
WOL Mode: {{ wol_mode }}
|
||||
MAC Addresses: {{ wol_mac_addresses | join(', ') }}
|
||||
|
||||
- name: Start tcpdump to capture WOL packet
|
||||
become: true
|
||||
ansible.builtin.shell: |
|
||||
@@ -157,3 +148,12 @@
|
||||
success_msg: "✅ Wake-on-LAN magic packet received by host"
|
||||
fail_msg: "❌ Wake-on-LAN magic packet NOT detected"
|
||||
changed_when: tcpdump_status.rc == 0
|
||||
|
||||
- name: Report WOL configuration
|
||||
ansible.builtin.debug:
|
||||
msg: |
|
||||
Wake-on-LAN Configuration Summary:
|
||||
===================================
|
||||
Physical Interfaces: {{ en_interfaces | join(', ') }}
|
||||
WOL Mode: {{ wol_mode }}
|
||||
MAC Addresses: {{ wol_mac_addresses | join(', ') }}
|
||||
|
||||
Reference in New Issue
Block a user