Skip to main content
On this page

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.

ModeBehaviour
dynamicSelector over inventory attributes; the composition is recomputed on every resolution
staticA 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:

FacetValues
region, site, tenantTopology and ownership
role, platform, clusterFunction and OS/platform
statusInventory 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_kindApplies to
globalEvery host
region, site, tenant, role, cluster, platformHosts whose inventory attribute matches the scope
connection_targetOne concrete host

Assignment flags:

FieldEffect
enabledMain switch; disables the assignment without deleting it
visibleShow the job in the host inspector
executableAllow launching from the surfaces where the job is shown
quick_action_enabledOne-click launch action on matching hosts
priorityOrder 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.