Renamed `wol_interface` to `wol_bridge`, updated comments, and refactored task using `bridge link show` and `ethtool`. Added udev rules for persistence and set `Restart=always` for the service.
14 lines
246 B
YAML
14 lines
246 B
YAML
# defaults/main.yml
|
|
# Bridge interface to enable Wake-on-LAN on
|
|
wol_bridge: vmbr0
|
|
|
|
# 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
|