Red Hat · hands-on lab
RHCE: Variables, Facts & Jinja2 Templates
Make playbooks data-driven with variables and registered variables, use Ansible facts about managed hosts, and generate configuration files with Jinja2 templates.
- 45 minutesTime in the lab
- IntermediateLevel
- 4 tasksChecked automatically
- CertificateVerifiable link when you finish
The situation
You are automating a fleet with Ansible. Replace hard-coded values with variables and facts, and template a config file.
What you will do
- Factsquestion
- Registerquestion
- Template modulequestion
- Jinja2 syntaxquestion
How it works
The lab opens in your browser: a real terminal or desktop, nothing to install. Work through the tasks, press Check after each one and the portal verifies your work. Stuck? Ask for a hint. Finish every task and you get a certificate page with its own verification link for LinkedIn or your CV.