jinja2

grayscale photo of computer laptop near white notebook and ceramic mug on table

Deploying Custom Files with Ansible JINJA2 Templates

Reading Time: 5 minutes Introduction The most powerful way to manage files in ansible is to template them. with this method, you can write a template configuration file that is automatically customized for the managed host when the file is deployed, using ansible variable and facts. This can be easier to control and less error-prone. Ansible uses the jinja2 templates for template files. Jinja2 is a modern and designer-friendly Continue Reading

Jinja2 Template: The modern design friendly templating engine

Reading Time: 3 minutes Jinja2 is a modern and design friendly templating engine for Python programming language. Jinja2 is a library for Python that is flexible, fast and secure.Jinja can generate any text-based format (HTML, XML, CSV, JSON, etc.). It can generate different documents based on one or more predefined templates. It is also used as a part of the backend of the websites where we need to create Continue Reading