Target sets and assignments
A target set answers which hosts a job runs on. An assignment answers where the job is offered in the Connections workspace. Both are reusable across jobs and schedules.
Target sets
A target set is a named host selection. A job and a schedule reference it; the server resolves the composition, so a dynamic set reflects the current inventory at preview or launch time.
| Mode | Behaviour |
|---|---|
dynamic | Selector over inventory attributes; the composition is recomputed on every resolution |
static | A fixed list of hosts selected by hand |
Dynamic target set
The builder filters connection targets created from inventory devices and virtual machines by multi-value facets:
| Facet | Values |
|---|---|
region, site, tenant | Topology and ownership |
role, platform, cluster | Function and OS/platform |
status | Inventory status; active is selected by default |
You can also require a bound primary address. This is on by default: a host without a bound address cannot be reached over SSH.
Facets match the displayed names of inventory entities. If a role, site or tenant is renamed, review the target-set preview: the composition may change. The selector is stored as a JSON object, but the interface edits structured facets; the builder does not expose raw JSON.
Static target set
A static set stores an explicit host list selected in a searchable multi-select. The list can be opened and changed after creation. An empty static set cannot be saved.
Preview
The preview shows the total resolved hosts and the first hosts with address, site and role. The launch dialog uses the same preview. An empty set is an explicit state: the run is not queued until the composition is fixed.
Assignments
An assignment binds a job to a target set and an inventory scope. It decides where the job is offered.
scope_kind | Applies to |
|---|---|
global | Every host |
region, site, tenant, role, cluster, platform | Hosts whose inventory attribute matches the scope |
connection_target | One concrete host |
Assignment flags:
| Field | Effect |
|---|---|
enabled | Main switch; disables the assignment without deleting it |
visible | Show the job in the host inspector |
executable | Allow launching from the surfaces where the job is shown |
quick_action_enabled | One-click launch action on matching hosts |
priority | Order when a host matches several assignments |
An assignment can also set a job version, timeout, target limit and default input. When a host inspector opens, the backend returns only enabled, visible and executable assignments of active jobs whose scope matches the host. A host without a bound primary address receives no assignments.
Permissions
Target sets, assignments, jobs and hosts use separate permission resources. Reading a target set does not grant permission to launch on it, and one host outside the operator's access rejects the whole launch rather than shrinking the composition silently.