diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-07-03 11:00:17 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-07-03 11:00:17 +0200 |
| commit | e2e2fd3a111dc307fb8e54dae9689ff901e7e9c1 (patch) | |
| tree | 9e36d5afa874fb50f05c9ce81ad7d5e475272103 /roles/ethtool/meta/argument_specs.yml | |
| parent | 16c2395a58db566337224837df8dbe75d062baf6 (diff) | |
Update ethtool to handle laptop lid suspend issues
When using WoL with laptops (ex Lenovo) closing the lid suspends the
laptop and breaks WoL, this is to allow configuring the lid behavior
Diffstat (limited to 'roles/ethtool/meta/argument_specs.yml')
| -rw-r--r-- | roles/ethtool/meta/argument_specs.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/ethtool/meta/argument_specs.yml b/roles/ethtool/meta/argument_specs.yml index 8f6ce206..ef5aefad 100644 --- a/roles/ethtool/meta/argument_specs.yml +++ b/roles/ethtool/meta/argument_specs.yml @@ -6,3 +6,15 @@ argument_specs: type: "str" description: "Network interface to enable Wake-on-LAN on" default: "eth0" + ethtool_lid_ac_action: + type: "str" + description: "HandleLidSwitchExternalPower value" + default: "suspend" + choices: + - "ignore" + - "suspend" + - "hibernate" + - "hybrid-sleep" + - "suspend-then-hibernate" + - "lock" + - "poweroff" |
