defghi*: style adjustments (#9532)

* defghi*: style adjustments

* Apply suggestions from code review

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Alexei Znamensky 2025-01-07 18:30:03 +13:00 committed by GitHub
commit 8cef0ee551
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 69 additions and 73 deletions

View file

@ -51,12 +51,12 @@ options:
state:
description:
- Whether to ensure that the machine in desired state.
- "The choices for state are:"
- V(on) -- Request system turn on
- V(off) -- Request system turn off without waiting for OS to shutdown
- V(shutdown) -- Have system request OS proper shutdown
- V(reset) -- Request system reset without waiting for OS
- "V(boot) -- If system is off, then V(on), else V(reset)"
- 'The choices for state are:'
- V(on) -- Request system turn on.
- V(off) -- Request system turn off without waiting for OS to shutdown.
- V(shutdown) -- Have system request OS proper shutdown.
- V(reset) -- Request system reset without waiting for OS.
- V(boot) -- If system is off, then V(on), else V(reset).
- Either this option or O(machine) is required.
choices: ['on', 'off', shutdown, reset, boot]
type: str