Skill · Configuration management · Configure a fleet with Ansible
Parameterise an Ansible playbook: variables, facts, precedence and Jinja2 filters
Parameterise a playbook: declare variables and collections, read and create facts, master precedence, capture a result with register and set_fact, query with lookups and transform with Jinja2 filters.
Start lesson 1The Configuration management domain
- 9 lessons
- ~10 h 40 of reading
- 8 quizzes
- 0 proof lab
Lessons
How to learn it
9 lessons, about ~10 h 40, in program order. Each lesson ends with its quiz.
The program
9 lessons · ~10 h 40
- 1Variables, facts et précédence (in French)· 5 min
- 2Variables : la déclaration (in French)· 80 min
- 3Types collections (in French)· 80 min
- 4Facts et magic vars (in French)· 85 min
- 5Custom facts (facts.d) (in French)· 75 min
- 6Précédence (22 niveaux RHCE) (in French)· 90 min
- 7register et set_fact (in French)· 75 min
- 8Lookups (in French)· 70 min
- 9Filtres Jinja2 essentiels (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
8 quizzes
At the end of the lessons: passed at 70%, they confirm the skill.
Practice
8 guided labs
- Custom facts: facts.d and ansible_local
- facts and magic vars: ansible_facts, hostvars
- Essential Jinja2 filters: default, combine, selectattr
- lookups: fetch external data at runtime
- Variable precedence: the 22 levels
- register and set_fact: capture and create variables
- Collection types: lists, dicts, nested structures
- Variables: declaration and scope
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
- DevSecOps Engineer
- RHCE (EX294, Red Hat Enterprise Linux 9)
In red: the certification it prepares for.
Taught by
Same block · Configure a fleet with Ansible
- Install Ansible and configure its control node
- Prepare managed nodes and run ad hoc commands
- Describe a fleet in a static Ansible inventory: groups, variables and patterns
- Write a readable, idempotent Ansible playbook
- Structure Ansible into roles and collections
- Protect the secrets of an Ansible project: Ansible Vault and external vaults
- Troubleshoot and run Ansible in production: verbosity, debugger, idempotence and ansible-pull