ssh_execute_group
Execute a command on all servers in a named group and receive per-server success or failure reports. Supports parallel, sequential, or rolling execution with configurable timeout and error handling.
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 |
|---|---|---|---|
| cwd | No | Working directory | |
| delay | No | Delay between servers in ms (for rolling) | |
| group | Yes | Group name (e.g., "production", "staging", "all") | |
| command | Yes | Command to execute | |
| strategy | No | Execution strategy | |
| stopOnError | No | Stop execution on first error |