execute_on_group
Execute shell commands simultaneously across multiple servers in a defined group to manage distributed systems efficiently.
Instructions
Execute a shell command on all servers in a group (parallel execution).
Args: group: Group name (e.g. 'dicentra-prod', 'infra'). Use list_groups to see available groups. command: Shell command to execute on all servers in the group. timeout: Per-server command timeout in seconds. Default 30. working_dir: Remote directory to execute from on each server. fail_fast: If true, stop on first failure. Default false (run all).
Returns: Formatted summary of results from all servers in the group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | Yes | ||
| command | Yes | ||
| timeout | No | ||
| working_dir | No | ||
| fail_fast | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |