Skill · Configuration management · Write robust playbooks
Handle a failed Ansible task: recover, ignore or stop the play
Decide what to do when a task fails: recover with block, rescue and always, ignore it wisely, or stop the whole play with any_errors_fatal.
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
- 1Block / rescue / always (in French)· 85 min
- 2ignore_errors (in French)· 75 min
- 3any_errors_fatal (in French)· 80 min
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
- Make Ansible tasks conditional and repeat them with when and loop
- 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