Ansible · Playbook Craft · Intermediate · 30 min read
Ansible Conditionals, Loops and Flow Control: when, loop, until, block, rescue and Includes
Make playbooks react to the host in front of them. Learn how when expressions are evaluated (and what changed in recent ansible-core), loops with loop_control and filters, retries with until, grouping with block, rescue and always, dynamic include versus static import, and the flow-control keywords that keep playbooks readable.
Create an account to start
Create a free account to see what this lesson covers
- Every free lesson in every section, in full
- Track your progress and pick up where you left off
- Free practice questions and an incident simulation
- Takes under a minute: name, email and a password
No card needed. Full access to Ansible is a paid upgrade you can choose later.