Search Books

Extending Ansible

Author Rishabh Das
Publisher Packt Publishing
📄 Viewing lite version Full site ›
🌎 Shop on Amazon — choose country
Price not listed
🛒 Buy New on Amazon 🇺🇸
Share:
Book Details
Author(s)Rishabh Das
ISBN / ASINB01BSTEDL8
ISBN-13978B01BSTEDL9
Sales Rank655,070
MarketplaceUnited States 🇺🇸

Description

Key Features

  • 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

Book Description

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

  1. Getting Started with Ansible
  2. Getting to Know Ansible Modules
  3. Digging Deeper into Ansible Modules
  4. Exploring API
  5. An In-Depth Look at Ansible Plugins
  6. Fitting It All Together – Integration
  7. Becoming a Master – A Complete Configuration Guide