Extending Ansible (擴展 Ansible)

Rishabh Das

  • 出版商: Packt Publishing
  • 出版日期: 2016-03-28
  • 售價: $1,340
  • 貴賓價: 9.5$1,273
  • 語言: 英文
  • 頁數: 102
  • 裝訂: Paperback
  • ISBN: 1782175008
  • ISBN-13: 9781782175001
  • 相關分類: Ansible
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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

商品描述(中文翻譯)

主要特點


  • 獲得市場上第一本最大化 Ansible 功能的書籍

  • 深入研究 Ansible 的模組和插件,掌握擴展 Ansible 的技巧

  • 按照您的需求進行逐步指南,自定義 Ansible

書籍描述

Ansible 是一個 IT 自動化工具,讓您以代碼的形式管理基礎架構。它幫助您部署應用程序並管理配置,從而使生活更輕鬆。在大多數情況下,Ansible 可以自給自足地滿足您的大部分需求。

理想情況下,使用標準模組、庫或插件來自動化給定的 IT 平台。通過自定義模組和插件開發,可以自定義 Ansible。

本書向您展示如何自動化 IT 環境中的大部分任務,從而最大程度地減少手動執行定期任務的需求,並通過開發自定義模組和插件來擴展您的 Ansible 實施。

您將首先了解擴展 Ansible 框架的基本方面,例如自定義函數和可重用模組。然後,您將進一步使用先前解釋的基本構建塊來構建自定義插件和擴展。我們還將向您展示如何使用腳本自動化一些任務。最後,我們將演示如何將這些擴展無縫集成到現有的 Ansible 安裝中,並解釋如何對這些擴展進行單元測試,以確保它們按預期工作。

您將學到什麼


  • 全面了解 Ansible 模組

  • 了解符合 Ansible 架構的插件的一切

  • 掌握設計模組和處理錯誤的技巧

  • 使用數據結構

  • 使用 PyPi 和 Git 子模組分發 Ansible 擴展

  • 了解模組和插件的各種分發方法

作者簡介

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.

作者簡介(中文翻譯)

Rishabh Das目前在Red Hat India工作,負責管理和維護他的團隊的CI/CD工作流程和基礎設施。他擁有超過3年的行業經驗,並且在Ansible方面有豐富的實踐經驗。您可以在Twitter上找到Rishabh,帳號是@rshbhdas。

目錄大綱

  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

目錄大綱(中文翻譯)

- 開始使用 Ansible
- 了解 Ansible 模組
- 深入探索 Ansible 模組
- 探索 API
- 深入研究 Ansible 插件
- 將所有元素結合在一起 - 整合
- 成為大師 - 完整的配置指南