Use this when a job needs other tasks, tools or services first.
Dependencies · Automation Design
Dependencies in automation design are what a job needs first — other tasks, modules, services, credentials or network access — declared explicitly so the order and requirements are clear.
1. Dependencies: libraries, collections, providers, external services, ordering between tasks.
2. Pin versions.
3. Check availability as preconditions.
4. Model ordering explicitly.
5. Document.
dependencies → resolved/pinned → automation runs
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 versioned external/internal dependency graph, availability/compatibility checks, startup/order requirements and explicit behavior when a dependency is missing.
Step 2 Common mistakes Narrow the fault
- Hidden ordering based on file order.
- Circular dependencies between modules.
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.
- Declare dependencies explicitly.
- Check them before starting.
- Missing dependencies cause confusing failures.
- Dependency list (tools, modules, services) — requirements
pip freeze / ansible-galaxy collection list— installed versions- External service dependencies (APIs, DNS) — runtime
ReferenceWhy it matters1 section · depth on demand
What it is
Dependencies are what a step needs first: other resources, services, credentials, tools or earlier steps. Declare them explicitly (Terraform references, depends_on, workflow needs:) so ordering is correct and failures stop dependent steps.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Dependencies are everything an automation relies on: tools and libraries, external systems (APIs, IPAM, AD), credentials, network paths and the results of other automations. Unknown dependencies are why automation "suddenly" fails after an unrelated change.
| Dependency type | Manage by |
|---|---|
| Software | Pin versions; lock files; container images |
| Services/APIs | Health checks at start; timeouts; clear errors |
| Credentials | Vault references; expiry monitoring |
| Network access | Documented flows; test from the runner |
| Other jobs | Explicit ordering, input validation |
List dependencies in the README, check critical ones as preconditions, and include them in impact analysis when those systems change.
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 Design > Dependencies. 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 versioned external/internal dependency graph, availability/compatibility checks, startup/order requirements and explicit behavior when a dependency is missing, prefer typed fields and stable IDs over human presentation text.