This commit refactors the task logic to include detection and validation of physical NICs enslaved to a bridge, selects the final WoL interface, and updates debug and failure messages accordingly. It also adds variables for detected bridge and PHY in `defaults/main.yml`.
15 lines
331 B
YAML
15 lines
331 B
YAML
# defaults/main.yml
|
|
# Network interface to enable Wake-on-LAN on
|
|
wol_interface: "" # user override (physical NIC)
|
|
wol_detected_bridge: ""
|
|
wol_detected_phy: ""
|
|
|
|
# WOL mode:
|
|
# g = magic packet (most common)
|
|
wol_mode: "g"
|
|
|
|
# Enable verification task
|
|
wol_verify: true
|
|
|
|
# Report MAC address for WOL senders
|
|
wol_report_mac: true |