Introducing Ansible
The second tool we cover in detail in this book is Ansible by Red Hat.
Ansible is a popular configuration management tool that enables users to automate the deployment and management of their applications.
It uses a hub-and-spoke model where a controlling machine instructs other machines to perform tasks. You can use it to manage your servers, deploy applications, or configure your network devices. One of the biggest advantages over other agentless devices is you don’t need to install anything on the target device you’re managing.
It supports YAML and JSON for writing playbooks, the main configuration file, meaning that it is language-agnostic when managing your remote systems and their state.
There is no one-size-fits-all solution when it comes to your IaC solution, and Ansible allows you to choose from various modules to achieve your desired result, providing a great deal of flexibility when managing your infrastructure.