jumpserver_profile_run
Run a named runbook across targets or an asset group to execute identical read-only steps, skip non-READ commands, and return PASS/FAIL results grouped by target and step.
Instructions
Run a NAMED runbook (a reviewed, reusable recipe from config "runbooks") across one or more servers: the SAME steps run on every host, and the results come back grouped per target and per step. Each step is an inspect profile or an explicit READ command; a non-READ step is SKIPPED and reported, never executed. Steps carrying expect assertions yield a PASS/FAIL verdict per step, per target and overall.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | Configured asset group — the runbook runs on every asset of that group. | |
| format | No | text (default, compact) or json (full structured result). | |
| runbook | Yes | Runbook name as defined in config.json under "runbooks", e.g. "oa-health". | |
| targets | No | Target IPs or asset names (max 20). Omit when using group. | |
| concurrency | No | Targets run at once (default: batchConcurrency setting). | |
| accountByTarget | No | { [target]: displayedAccountId } for multi-user assets (KoKo `ID>` prompt). |