In this chapter, we will see some examples of device interactions using the Ansible tool. This chapter will guide you through the basics of Ansible and through certain use cases in order to gain a better understanding of how to interact with network devices. With a focus on configuring the devices using templates and ensuring the implementation of a golden configuration, readers will also understand creating programmatic playbooks to perform certain actions through scripts.
This chapter covers various terminologies and concepts used in Ansible, showcasing examples to create configurations for various devices based upon templates. Readers will also be introduced to templating using Jinja2, which will also be referred to in other use cases provided in other chapters. We will also learn how to configure the management tools Chef and Puppet, and...