Core Concepts¶
The surface area you use every day. If Getting Started got you a working connection and one passing playbook, this section is where that playbook's every line stops being magic.
Read in this order¶
- Inventory — which hosts, grouped how
- Ad-Hoc Commands — one module, no file, run right now
- Playbooks, Plays, and Tasks — the structure everything else builds on
- Modules — the actual unit of work, and its idempotent contract
- Variables (Overview) — where values come from, with a map to the deep-dive section
- Conditionals —
when: - Loops —
loop: - Handlers —
notify:and "restart, but only if something changed" - Tags — running part of a playbook on purpose
- Check Mode and Diff Mode —
--check/--diff - Idempotency — the mental model everything above is in service of
Or jump straight to a reference¶
Next¶
Once these are solid, continue to Variables & Data or Modules, depending on what you need next.