Use this when adding or troubleshooting execution workers.
Worker
A worker is a process or node that picks up tasks from the queue and executes them, such as an AWX execution node or Jenkins agent. Add workers to scale out capacity.
1. Workers execute tasks from queues or controllers.
2. Scale horizontally.
3. Limit concurrency to protect targets.
4. Graceful shutdown.
5. Monitor errors.
queue/controller → worker → task
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
The negative fixture should deliberately exercise risks such as implicit defaults, hidden dependencies, duplicate dispatch, worker drift, timeout without cancellation, retries against non-idempotent operations and confusing control-plane completion with target convergence, choosing the cases most relevant to worker registration/capabilities, queue claim/lease, heartbeat, concurrency, cancellation and distinguishing worker process health from job/target success.
Step 2 Common mistakes Narrow the fault
- Workers holding local state that is lost on restart.
- No limit on concurrency, overloading targets.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Workers execute tasks dispatched by the controller.
- All workers need the same tools and versions.
- Add workers to increase capacity.
- Worker processes running — capacity
- Worker logs — errors
- Concurrency settings — limits
ReferenceWhy it matters1 section · depth on demand
What it is
A worker is the process that actually executes a task pulled from a queue or assigned by a controller. Many workers allow parallel execution; each must be stateless or use shared state safely, and report results back.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
A worker is the process that actually executes automation tasks, taking them from a queue or being assigned them by a controller. Separating workers from the control plane lets execution scale out and lets workers be placed close to what they manage — for example an execution node inside each data centre or network segment.
Design points:
- Size worker capacity by concurrent jobs and per-job resource use.
- Place workers where they can reach targets (AWX execution nodes, Rundeck runners, self-hosted CI runners).
- Give each worker only the credentials and network access its targets require.
- Make workers stateless and replaceable; persistent data belongs in the controller or external stores.
Monitor queue length and worker utilisation: jobs waiting long in the queue mean too few workers or stuck jobs.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Automation Architecture > Worker. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/azure/well-architected/operational-excellence/enable-automation · confidence 94%Deep reference
Healthy vs suspicious evidence
Output interpretation
For worker registration/capabilities, queue claim/lease, heartbeat, concurrency, cancellation and distinguishing worker process health from job/target success, prefer typed fields and stable IDs over human presentation text.