Ansible uses Jinja2 (.j2) files for templating paybooks. https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_templating.html