Skill · Configuration management · Write robust playbooks
Check preconditions and synchronize a playbook's execution
Check a host's state before acting with stat, find and getent, and cleanly stop a playbook whose precondition is missing, with assert and fail.
Start lesson 1The Configuration management domain
- 6 lessons
- ~5 h 15 of reading
- 6 quizzes
- 0 proof lab
Lessons
How to learn it
6 lessons, about ~5 h 15, in program order. Each lesson ends with its quiz.
The program
6 lessons · ~5 h 15
Part 1 · Modules stockage et état de la machine (in French) 1 lesson · ~25 min
- 1Module getent (in French)· 25 min
Part 2 · Modules réseau et diagnostic (in French) 4 lessons · ~4 h 20
- 2Module stat (in French)· 60 min
- 3Module find (in French)· 60 min
- 4Modules assert et fail (in French)· 75 min
- 5Modules wait_for et pause (in French)· 65 min
Part 3 · Modules complémentaires : commandes brutes et Windows (in French) 1 lesson · ~30 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
6 quizzes
At the end of the lessons: passed at 70%, they confirm the skill.
Practice
4 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
Taught by
Same block · Write robust playbooks
- Make Ansible tasks conditional and repeat them with when and loop
- 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
- Control playbook execution: parallelism, async, delegation and inclusion