Practical Ansible: Configuration Management from Start to Finish 2/e

Sesto, Vincent

  • 出版商: Apress
  • 出版日期: 2022-09-22
  • 售價: $1,710
  • 貴賓價: 9.5$1,625
  • 語言: 英文
  • 頁數: 327
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484286421
  • ISBN-13: 9781484286425
  • 相關分類: Ansible
  • 海外代購書籍(需單獨結帳)

商品描述

Get ready to go from the basics of using Ansible to becoming proficient at implementing configuration management in your projects. This book begins with the basics of Ansible, providing you with details on how to install and configure your environment while working with different Ansible modules from the command line. Next, it introduces you to working with Ansible tasks and organizing configuration code into playbooks.

You'll then learn how to extend playbooks further, using roles and templates within the configuration code. Author Vincent Sesto then extends your knowledge further by covering custom Ansible modules using Python and Linux shell scripts and demonstrating how you can start to keep your secret values encrypted and secure using Ansible Vault. You'll also develop Ansible roles with the use of Ansible Galaxy to reuse existing roles that others have created.

 

This updated edition reflects changes added in the latest version of Ansible (2.9). It also includes an expanded chapter on testing Ansible using Molecule and managing large server environments using applications like Ansible Tower.

What Will You Learn

 

  • Understand what Ansible is and how to install and run your first basic command line commands
  • Expand your configuration management using Ansible playbooks, roles and templates
  • Customize your code further using Ansible Vault and third-party roles in Ansible Galaxy.
  • Work with Ansible in managing cloud infrastructure, specifically in Amazon Web Services
  • Troubleshoot your Ansible code and use frameworks like Molecule and Testinfra to help test your code changes
  • Manage large server environments using real-world examples and extend your configurations using an application like Ansible Tower

 

Who This Book Is For

Systems Engineers, Developers, DevOps Engineers and Software Administrators.

 

商品描述(中文翻譯)

準備好從使用 Ansible 的基礎知識,進一步熟練地在專案中實施組態管理。本書從 Ansible 的基礎知識開始,詳細介紹如何安裝和配置環境,並使用不同的 Ansible 模組進行命令行操作。接下來,介紹如何使用 Ansible 任務和將組態代碼組織成 playbook。

然後,您將學習如何通過在組態代碼中使用角色和模板來進一步擴展 playbook。作者 Vincent Sesto 通過使用 Python 和 Linux shell 腳本來創建自定義的 Ansible 模組,並演示如何使用 Ansible Vault 來加密和保護機密值。您還將使用 Ansible Galaxy 開發 Ansible 角色,以重複使用他人創建的角色。

本更新版反映了 Ansible 的最新版本(2.9)中新增的變化。它還包括一個擴展的章節,介紹如何使用 Molecule 測試 Ansible,以及如何使用 Ansible Tower 管理大型服務器環境。

您將學到什麼

- 了解 Ansible 是什麼,如何安裝和運行第一個基本命令行命令
- 通過 Ansible playbook、角色和模板擴展您的組態管理
- 使用 Ansible Vault 和 Ansible Galaxy 中的第三方角色進一步自定義您的代碼
- 使用 Ansible 管理雲基礎設施,特別是在 Amazon Web Services 上
- 調試您的 Ansible 代碼,並使用 Molecule 和 Testinfra 等框架幫助測試代碼更改
- 使用真實案例管理大型服務器環境,並使用像 Ansible Tower 這樣的應用程序擴展您的配置

本書適合對象

系統工程師、開發人員、DevOps 工程師和軟體管理員。