Rendering is changing data into something <variable> -------> into "value".
Parsing takes raw data or input and converts it a data structure, or structures that can be analyzed.
Jinja2 - 101 - Intro to Jinja2 template building
Widget Connector | ||
---|---|---|
|
...
Code Block | ||
---|---|---|
| ||
With Python: ( use extensively by ANsibleAnsible) >>> from jinja2 import Template >>> template = Template('Hello {{ name }}!') >>> template.render(name='John Doe') 'Hello John Doe!' |
...