Ansible & Configuration
Jinja2 template
Jinja2 template renders variable-driven configuration files.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A command to try yourself
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Ansible & Configuration
- changed_whenBeginner · 4 min
changed_when overrides a task change assessment.
- RoleBeginner · 4 min
Role packages tasks handlers defaults and templates.
- VaultBeginner · 4 min
Vault encrypts secrets stored with Ansible.
- TagsBeginner · 4 min
Tags limit task execution to selected subsets.
- Serial rolling updatesBeginner · 5 min
Serial rolling updates limits batch size across hosts.
- Delegate_toBeginner · 5 min
Delegate_to runs a task on a different machine.