Skill · Configuration management · Configure a fleet with Ansible
Protect the secrets of an Ansible project: Ansible Vault and external vaults
Protect the secrets of an Ansible project: encrypt a file or a variable with Ansible Vault, one password per environment (vault-id), roles that carry their secrets, then delegate to an external vault such as HashiCorp Vault, OpenBao or Passbolt.
Start lesson 1The Configuration management domain
- 9 lessons
- ~9 h 25 of reading
- 7 quizzes
- 0 proof lab
Lessons
How to learn it
9 lessons, about ~9 h 25, in program order. Each lesson ends with its quiz.
The program
9 lessons · ~9 h 25
- 1Secrets et Ansible Vault (in French)· 5 min
- 2Introduction à Ansible Vault (in French)· 65 min
- 3Chiffrer fichier ou variable (in French)· 75 min
- 4Vault-id multiples (dev/prod) (in French)· 85 min
- 5Playbooks mixtes (in French)· 85 min
- 6Vault dans les rôles (in French)· 80 min
- 7HashiCorp Vault / OpenBao (in French)· 90 min
- 8Passbolt (équipes) (in French)· 65 min
- 9Quiz Secrets (in French)· 15 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
- encrypt_string vs whole-file encryption
- Vault inside a role: plaintext defaults, encrypted vars
- Multiple vault-ids: isolate dev, staging and prod
- Fetch secrets from HashiCorp Vault or OpenBao
- Fetch secrets from Passbolt
- Ansible Vault: encrypt your first secrets file
- Mixed playbooks: main.yml plus vault.yml per group
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
- Parameterise an Ansible playbook: variables, facts, precedence and Jinja2 filters
- Structure Ansible into roles and collections
- Troubleshoot and run Ansible in production: verbosity, debugger, idempotence and ansible-pull