...

/

Templates and Hosts file

Templates and Hosts file

Let's take a look at the templates folder and the Ansible hosts file.

We'll cover the following...

templates

The templates folder is part of the Ansible framework and is where Jinja2 dynamic template files are kept. Like all the other folders, templates should be structured to scale and organized logically.

In the example, there are three top-level folders: banner, configurations, and documentation ...