summaryrefslogtreecommitdiffstats
path: root/roles/ethtool/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'roles/ethtool/README.md')
-rw-r--r--roles/ethtool/README.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/roles/ethtool/README.md b/roles/ethtool/README.md
index c1902568..69f987ee 100644
--- a/roles/ethtool/README.md
+++ b/roles/ethtool/README.md
@@ -5,7 +5,8 @@ Installs ethtool and configures Wake-on-LAN (WoL) via a systemd service.
## Variables
```yaml
-ethtool_wol_interface: "eth0" # Network interface to enable WoL on
+ethtool_wol_interface: "eth0" # Network interface to enable WoL on
+ethtool_lid_ac_action: "suspend" # HandleLidSwitchExternalPower (ignore/suspend/hibernate/lock/poweroff)
```
## Usage
@@ -38,7 +39,11 @@ Enables WoL on the NIC via ethtool on every boot. Add to your play with the corr
ethtool_wol_interface: "enp0s25"
```
-### 3. Suspend the host
+### 3. Lid behavior (laptops)
+
+Role configures `HandleLidSwitchExternalPower` via `ethtool_lid_ac_action` (default: `suspend`). Set to `ignore` for WoL use case — lid close on AC won't re-suspend after wake. No effect on desktops.
+
+### 4. Suspend the host
WoL is most reliable from suspend (S3). Shutdown (S5) requires BIOS "WoL from S5" support.