refactor ♻️: Refactor task logic for detecting and validating physical NICs enslaved to a bridge
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`.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
# defaults/main.yml
|
||||
# Network interface to enable Wake-on-LAN on
|
||||
wol_interface: ""
|
||||
wol_interface: "" # user override (physical NIC)
|
||||
wol_detected_bridge: ""
|
||||
wol_detected_phy: ""
|
||||
|
||||
# WOL mode:
|
||||
# g = magic packet (most common)
|
||||
|
||||
Reference in New Issue
Block a user