Skill · Configuration management · Write robust playbooks
Make Ansible tasks conditional and repeat them with when and loop
Make a task conditional with when and repeat it with loop over lists or dictionaries, leaving the old with_* loops behind.
Start lesson 1The Configuration management domain
- 3 lessons
- ~4 h 00 of reading
- 3 quizzes
- 0 proof lab
Lessons
How to learn it
3 lessons, about ~4 h 00, in program order. Each lesson ends with its quiz.
The program
3 lessons · ~4 h 00
Beyond the lessons
Assess, practise, pass the proof
Reading a lesson confirms nothing. A skill is confirmed by a passed quiz, practised in a guided lab, and put to the test by a challenge or a mission; an imported lab result is not verified by the site.
Assess yourself
3 quizzes
At the end of the lessons: passed at 70%, they confirm the skill.
Practice
3 guided labs
Proof
No proof
Neither a challenge nor a mission with a proof yet.
Placement test
Preparing the questions…
Your answers in detail
For each question asked: your answer, the correct answer, its explanation and the page to reread.
Around it
Who requires it, who teaches it
Required by
- Linux Administrator
- RHCE (EX294, Red Hat Enterprise Linux 9)
In red: the certification it prepares for.
Taught by
Same block · Write robust playbooks
- Handle a failed Ansible task: recover, ignore or stop the play
- Run a raw command through Ansible idempotently and report it correctly
- Generate a configuration file through Ansible from a Jinja2 template
- Check preconditions and synchronize a playbook's execution
- Control playbook execution: parallelism, async, delegation and inclusion