Locks or unlocks a dokku application from deployment
Supported.
Supported.
Keyed by app.
| Parameter | Type | Required | Default | Choices | Description |
|---|---|---|---|---|---|
app |
string | yes | Name of the app | ||
state |
string | no | present | present, absent | Desired lock state |
dokku_app_lock:
app: node-js-appdokku_app_lock:
app: node-js-app
state: absentAvailable after the task runs when captured with register:, referenced as result.<Key> (or registered.<name>.<Key>).
| Key | Returned | Type | Description |
|---|---|---|---|
Changed |
always | bool | Whether the task changed server state. |
State |
always | string | Resulting state of the resource. |
DesiredState |
always | string | The state the task targeted. |
Message |
always | string | Human-readable result message (may be empty). |
Commands |
when a subprocess ran | list | Resolved dokku command lines executed. |
Stdout |
when a subprocess ran | string | Captured stdout of the final command. |
Stderr |
when a subprocess ran | string | Captured stderr of the final command. |
ExitCode |
when a subprocess ran | int | Exit code of the final command. |