Search⌘ K
AI Features

Templates and Hosts file

Explore how to organize the Ansible repository with folders for dynamic Jinja2 templates such as banners, configurations, and documentation. Understand managing the hosts file stored at repository root for grouping devices, enhancing network automation scalability and clarity.

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 ...