mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
@@ -31,11 +31,11 @@ options:
|
||||
required: true
|
||||
state:
|
||||
description:
|
||||
- C(started)/C(stopped) are idempotent actions that will not run
|
||||
commands unless necessary. C(restarted) will always bounce the
|
||||
service (sv restart) and C(killed) will always bounce the service (sv force-stop).
|
||||
C(reloaded) will send a HUP (sv reload).
|
||||
C(once) will run a normally downed sv once (sv once), not really
|
||||
- V(started)/V(stopped) are idempotent actions that will not run
|
||||
commands unless necessary. V(restarted) will always bounce the
|
||||
service (sv restart) and V(killed) will always bounce the service (sv force-stop).
|
||||
V(reloaded) will send a HUP (sv reload).
|
||||
V(once) will run a normally downed sv once (sv once), not really
|
||||
an idempotent operation.
|
||||
type: str
|
||||
choices: [ killed, once, reloaded, restarted, started, stopped ]
|
||||
|
||||
Reference in New Issue
Block a user