Skill · Configuration management · Industrialize Ansible roles
Test an Ansible role with Molecule and pass the ansible-lint production profile
Develop a role test-first with Molecule, across several distributions, and get it through the ansible-lint production profile.
Start lesson 1The Configuration management domain
- 7 lessons
- ~10 h 10 of reading
- 7 quizzes
- 0 proof lab
Lessons
How to learn it
7 lessons, about ~10 h 10, in program order. Each lesson ends with its quiz.
The program
7 lessons · ~10 h 10
- 1Introduction TDD Molecule (in French)· 75 min
- 2Installer Molecule et sa CLI (in French)· 85 min
- 3Cycle TDD complet (in French)· 115 min
- 4Scenarios multi-distro (in French)· 100 min
- 5Tests avec testinfra (in French)· 80 min
- 6Tests tox multi-versions (in French)· 75 min
- 7ansible-lint production (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
7 quizzes
At the end of the lessons: passed at 70%, they confirm the skill.
Practice
7 guided labs
- Molecule: enrich a scenario beyond the defaults
- Molecule: anatomy of a test scenario
- Molecule: test a role across distributions
- Molecule: build a users role test-first
- ansible-lint production profile with pre-commit
- Molecule + testinfra: Python assertions on a role
- tox: test a role against several ansible-core versions
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 · Industrialize Ansible roles