In order to master Ansible playbooks, we need to learn about modules and how useful they can be. Ansible modules are essential components that define the actions performed by every playbook. Each module is set up to enable a task to be performed. They are designed to function smoothly with no overheads because all their dependencies and requirements are covered. Ansible modules enable the user to manage several operating systems, services, applications, databases, packages managers, virtualized infrastructure datastores, and cloud environments. In this chapter, we will cover the following:
- Overview of the use of Ansible modules
- Ansible Linux modules and their varieties
- Implementing Ansible Windows modules
- A common constructor: Ansible network modules
- The Ansible cloud modules of the big three cloud providers