← Back to Explore

delegate-with-vars

Delegation with variables passed to child runbook

delegation

Rundown


# Delegate With Vars

Delegate a substep to a child runbook, passing variables via `--var`.

## 1. Delegated work

- PASS ALL: COMPLETE
- FAIL ANY: STOP

### 1.1 Child task

Delegated to a child runbook with variables.

Run

Delegate with --var, child echoes the variable

Initializing...

Initializing...

Step/