mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-23 02:41:25 -07:00
lmn*: style adjustments (#9528)
* lmn*: style adjustments * Apply suggestions from code review * 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:
parent
aac7199087
commit
838cdaab42
43 changed files with 440 additions and 378 deletions
|
@ -38,10 +38,11 @@ options:
|
|||
state:
|
||||
description:
|
||||
- V(started)/V(stopped) are idempotent actions that will not run commands unless necessary.
|
||||
- Launchd does not support V(restarted) nor V(reloaded) natively. These will trigger a stop/start (restarted) or an unload/load (reloaded).
|
||||
- Launchd does not support V(restarted) nor V(reloaded) natively. These will trigger a stop/start (restarted) or an
|
||||
unload/load (reloaded).
|
||||
- V(restarted) unloads and loads the service before start to ensure that the latest job definition (plist) is used.
|
||||
- V(reloaded) unloads and loads the service to ensure that the latest job definition (plist) is used. Whether a service is started or stopped
|
||||
depends on the content of the definition file.
|
||||
- V(reloaded) unloads and loads the service to ensure that the latest job definition (plist) is used. Whether a service
|
||||
is started or stopped depends on the content of the definition file.
|
||||
type: str
|
||||
choices: [reloaded, restarted, started, stopped, unloaded]
|
||||
enabled:
|
||||
|
@ -52,8 +53,8 @@ options:
|
|||
force_stop:
|
||||
description:
|
||||
- Whether the service should not be restarted automatically by launchd.
|
||||
- Services might have the 'KeepAlive' attribute set to true in a launchd configuration. In case this is set to true, stopping a service
|
||||
will cause that launchd starts the service again.
|
||||
- Services might have the 'KeepAlive' attribute set to true in a launchd configuration. In case this is set to true,
|
||||
stopping a service will cause that launchd starts the service again.
|
||||
- Set this option to V(true) to let this module change the C(KeepAlive) attribute to V(false).
|
||||
type: bool
|
||||
default: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue