# Jinja2 & Templates

Every `{{ }}` in a playbook is Jinja2, not YAML. This section covers the templating language itself and its main production use — generating real config files from a single template plus per-environment variables.

## Read in this order

1. [Jinja2 Basics](<https://computecentral.in/ansible/jinja2-and-templates/01-jinja2-basics/index.md>) — expressions, string interpolation, and where templating actually runs
2. [Filters and Tests](<https://computecentral.in/ansible/jinja2-and-templates/02-filters-and-tests/index.md>) — `| default`, `| join`, `is defined`, and the rest
3. [Templates for Config Generation](<https://computecentral.in/ansible/jinja2-and-templates/03-templates-for-config-generation/index.md>) — the `template` module, `.j2` files, loops and conditionals inside a template
4. [Advanced Jinja2](<https://computecentral.in/ansible/jinja2-and-templates/04-advanced-jinja2/index.md>) — macros, whitespace control, custom filters

## Next

Continue to [Modules](<https://computecentral.in/ansible/modules/index.md>).
