remote_exec
Run named recipes on configured SSH hosts, allowing only pre-authorized commands. Restrict remote execution to allowlisted content for security.
Instructions
Run a NAMED recipe on a configured SSH host (never free-form shell). Host and recipe must exist in connections config; remote argv must be on the host allowlist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | SSH host profile name | |
| repo | No | Repository name | |
| format | No | toon (default) | json | |
| params | No | JSON object of recipe params, e.g. {"lines":"100","path":"/var/log/nginx/error.log"} | |
| recipe | Yes | Recipe name on that host | |
| timeout_seconds | No | Timeout (default 30, max 120) |