- Get the first book on the market that maximizes the functionalities of Ansible
- Master the skill of extending Ansible by deep diving into its modules and plugins
- Work through this step-by-step guide to customizing Ansible according to your requirements
Ansible is an IT automation tool that lets you manage your Infrastructure as a Code. It helps you deploy your applications and manage configurations, thus making life easier. Ansible, in most ways, is self sufficient to address most of your requirements.
Ideally, standard modules, libraries, or plugins are used to automate a given IT platform. Customizing Ansible can be done by custom module and plugin development.
This book shows you how to automate most of the tasks in your IT environment, thus minimizing the need to manually perform scheduled tasks and extend your Ansible implementation by developing customized modules and plugins.
You'll begin by getting an understanding of the fundamental aspects of extending the Ansible framework, such as custom functions and reusable modules. You'll then progress to building custom plugins and extensions using the fundamental building blocks explained earlier. We'll also show you how to automate some tasks using scripts. Finally, we'll demonstrate how these extensions can be seamlessly integrated into existing Ansible installations and explain how to conduct unit testing on these extensions to ensure they work as desired.
What you will learn
- Get a thorough understanding of Ansible modules
- Find out everything about plugins that fit in the Ansible architecture
- Get to grips with designing modules and handling errors
- Work with data structures
- Distribute Ansible extensions using PyPi and Git submodules
- Get to know the various distribution methods of modules and plugins
About the Author
Rishabh Das, presently working with Red Hat India, is responsible for managing and maintaining the CI/CD workflow and infrastructure for his team. He has more than 3 years of industry experience and has extensive hands-on experience with Ansible. You can reach Rishabh on Twitter at @rshbhdas.
Table of Contents
Chapter 1. Getting Started with Ansible
Chapter 2. Getting to Know Ansible Modules
Chapter 3. Digging Deeper into Ansible Modules
Chapter 4. Exploring API
Chapter 5. An In-Depth Look at Ansible Plugins
Chapter 6. Fitting It All Together – Integration
Chapter 7. Becoming a Master – A Complete Configuration Guide