Skill · Configuration management · Write robust playbooks
Generate a configuration file through Ansible from a Jinja2 template
Generate a configuration file from a Jinja2 template (variables, loops, conditions, filters) and reject an invalid result with validate.
Start lesson 1The Configuration management domain
- 5 lessons
- ~6 h 35 of reading
- 5 quizzes
- 0 proof lab
Lessons
How to learn it
5 lessons, about ~6 h 35, in program order. Each lesson ends with its quiz.
The program
5 lessons · ~6 h 35
- 1Jinja2 : la syntaxe de base (in French)· 80 min
- 2Filtres Jinja2 avancés (in French)· 80 min
- 3Tests Jinja2 (in French)· 75 min
- 4Module template (in French)· 80 min
- 5lineinfile vs template (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
5 quizzes
At the end of the lessons: passed at 70%, they confirm the skill.
Practice
5 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
- Handle a failed Ansible task: recover, ignore or stop the play
- Run a raw command through Ansible idempotently and report it correctly
- Check preconditions and synchronize a playbook's execution
- Control playbook execution: parallelism, async, delegation and inclusion