ssh_execute_group
Runs a command on every server in a named group and returns per-server success or failure reports. Supports parallel, sequential, or rolling strategies.
Instructions
Runs one command on every server belonging to the named group and returns a per-server success or failure report. Mutates remote state on each member and is not idempotent. Best-effort: the security policy of each server is evaluated independently, so readonly or restricted members are reported as failed without aborting the rest unless stopOnError is set. Strategy may be parallel, sequential, or rolling (delay applies between servers). Per-server timeout is 30000 ms; cwd defaults to the default_dir of each server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | Yes | Group name (e.g., "production", "staging", "all") | |
| command | Yes | Command to execute | |
| strategy | No | Execution strategy | |
| delay | No | Delay between servers in ms (for rolling) | |
| stopOnError | No | Stop execution on first error | |
| cwd | No | Working directory |