Ansible Playbook Essentials (Paperback)
暫譯: Ansible Playbook 基礎精要 (平裝本)

Gourav Shah

  • 出版商: Packt Publishing
  • 出版日期: 2015-07-30
  • 售價: $1,470
  • 貴賓價: 9.5$1,397
  • 語言: 英文
  • 頁數: 168
  • 裝訂: Paperback
  • ISBN: 1784398292
  • ISBN-13: 9781784398293
  • 相關分類: Ansible
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

商品描述

Design automation blueprints using Ansible's playbooks to orchestrate and manage your multitier infrastructure

About This Book

  • Get to grips with Ansible's features such as orchestration, automatic node discovery, and data encryption
  • Create data-driven, modular and reusable automation code with Ansible roles, facts, variables, and templates
  • A step-by-step approach to automating and managing system and application configurations effectively using Ansible's playbooks

Who This Book Is For

If you are a systems or automation engineer who intends to automate common infrastructure tasks, deploy applications, and use orchestration to configure systems in a coordinated manner, then this book is for you. Some understanding of the Linux/Unix command-line interface is expected.

What You Will Learn

  • Write simple tasks and plays
  • Organize code into a reusable, modular structure
  • Separate code from data using variables and Jinja2 templates
  • Run custom commands and scripts using Ansible's command modules
  • Control execution flow based on conditionals
  • Integrate nodes and discover topology information about other nodes in the cluster
  • Encrypt data with Ansible-vault
  • Create environments with isolated configurations to match the application development workflow
  • Orchestrate infrastructure and deploy applications in a coordinated manner

In Detail

This book will show you how to write a blueprint of your infrastructure, encompassing multitier applications using Ansible's playbooks. Beginning with basic concepts such as plays, tasks, handlers, inventory, and the YAML syntax that Ansible uses, you will see how to organize your code into a modular structure. Building on this, you will master techniques to create data-driven playbooks with variables, templates, logical constructs, and encrypted data. This book will also take you through advanced clustering concepts, such as discovering topology information about other nodes in the cluster, managing multiple environments with isolated configurations, and orchestrate infrastructure and deploy applications in a coordinated manner.

By the end of this book, you will be able to design solutions to your automation and orchestration problems using playbooks quickly and efficiently.

商品描述(中文翻譯)

**使用 Ansible 的 playbooks 設計自動化藍圖,以協調和管理您的多層基礎架構**

## 本書簡介

- 熟悉 Ansible 的功能,例如協調、自動節點發現和數據加密
- 使用 Ansible 角色、事實、變數和模板創建數據驅動的模組化和可重用的自動化代碼
- 逐步學習如何有效地使用 Ansible 的 playbooks 自動化和管理系統及應用程序配置

## 本書適合誰

如果您是一位系統或自動化工程師,打算自動化常見的基礎架構任務、部署應用程序並使用協調以協調的方式配置系統,那麼這本書適合您。預期讀者對 Linux/Unix 命令行介面有一定的了解。

## 您將學到什麼

- 編寫簡單的任務和 play
- 將代碼組織成可重用的模組化結構
- 使用變數和 Jinja2 模板將代碼與數據分離
- 使用 Ansible 的命令模組運行自定義命令和腳本
- 根據條件控制執行流程
- 整合節點並發現集群中其他節點的拓撲信息
- 使用 Ansible-vault 加密數據
- 創建具有隔離配置的環境,以匹配應用程序開發工作流程
- 協調基礎架構並以協調的方式部署應用程序

## 詳細內容

本書將向您展示如何編寫基礎架構的藍圖,涵蓋使用 Ansible 的 playbooks 的多層應用程序。從基本概念開始,例如 plays、tasks、handlers、inventory 以及 Ansible 使用的 YAML 語法,您將學會如何將代碼組織成模組化結構。在此基礎上,您將掌握創建數據驅動的 playbooks 的技術,包括變數、模板、邏輯結構和加密數據。本書還將帶您了解高級集群概念,例如發現集群中其他節點的拓撲信息、管理具有隔離配置的多個環境,以及協調基礎架構並以協調的方式部署應用程序。

在本書結束時,您將能夠快速有效地設計解決方案,以解決您的自動化和協調問題,使用 playbooks。