register_host
Register or update a test/build host by host ID and SSH target; omitted fields retain previous values for safe upserts.
Instructions
Register (or update) a test/build host. Upsert: omitted fields keep their previous values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| os | No | e.g. 'windows' | |
| notes | No | ||
| shell | No | Login shell flavor on the host | |
| host_id | Yes | Short id: lowercase [a-z0-9-], e.g. 'build-pc' | |
| ssh_key | No | Identity file path if not the ssh default | |
| hostname | No | Machine name, e.g. 'DESKTOP-BUILDPC' | |
| ssh_target | Yes | ssh alias or user@host, e.g. 'rtx-pc' or 'pompa@192.0.2.172' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| os | No | ||
| lock | No | ||
| facts | No | Probed facts (gpu, ram, node_path, cs2_path, ...) | |
| notes | No | ||
| shell | No | ||
| ssh_key | No | ||
| hostname | No | ||
| probed_at | No | ||
| ssh_target | Yes |