Blog
Thoughts on engineering, design, and building great products.
Handlers, Loops and Conditionals
DevOpsAnsible
Handlers, Loops and Conditionals
Control playbook flow: loop to repeat a task over many values, when to run conditionally, handlers to react to changes (restart on config change), and block/rescue for clean error handling. With real run logs.
K
KaiMay 23, 2026· 27 viewsPlaybook: Structure and Tasks
DevOpsAnsible
Playbook: Structure and Tasks
The playbook is the heart of Ansible — a YAML file describing desired state. This article: the structure of plays and tasks, writing and running your first playbook to install a web server, reading the PLAY RECAP, FQCN, and check mode (dry-run).
K
KaiMay 23, 2026· 10 views