Learning Ansible 2, 2nd Edition
- Length: 363 pages
- Edition: 2nd Revised edition
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2016-12-06
- ISBN-10: 1786464233
- ISBN-13: 9781786464231
- Sales Rank: #1925585 (See Top 100 Books)
Key Features
- Simplify the automation of applications and systems using the newest version of Ansible
- Get acquainted with fundamentals of Ansible such as playbooks, modules, and various testing strategies
- A comprehensive, learning guide that provides you with great skills to automate your organization’s infrastructure using Ansible 2
Book Description
Ansible is an open source automation platform that assists organizations with tasks such as configuration management, application deployment, orchestration, and task automation. Basically complex tasks can be handled by the easy-to-use Ansible. This update to Learning Ansible is based on the latest version, Ansible 2.
In this book, you will learn about the fundamentals and practical aspects of Ansible 2 by deep diving into topics such as installation (Linux, BSD, and Windows Support), playbooks, modules, various testing strategies, provisioning, deployment, and orchestration. In this book, you will get accustomed with the new features of Ansible 2 such as cleaner architecture, task blocks, playbook parsing, new execution strategy plugins, and modules. You will also learn how to integrate Ansible 2 with cloud platforms such as AWS. The book ends with the enterprise version of Ansible, Ansible Tower and Ansible Galaxy, where you will learn to interact Ansible with different OSs to speedup your work with Ansible Tower and Ansible Galaxy.
By the end of the book, you’ll able to leverage the Ansible parameters to create expeditious tasks for your organization by implementing the Ansible 2 techniques and paradigms.
What you will learn
- Set up Ansible 2 and an Ansible 2 project in a future-proof way
- Perform basic operations with Ansible 2 such as creating, copying, moving, changing, and deleting files, and creating and deleting users)
- Deploy complete cloud environments using Ansible 2 on Amazon Web Services and DigitalOcean
- Explore complex operations with Ansible 2 (Ansible vault, e-mails, and Nagios)
- Develop and test Ansible playbooks
- Write a custom module and test it
Table of Contents
Chapter 1. Getting Started with Ansible
Chapter 2. Automating Simple Tasks
Chapter 3. Scaling to Multiple Hosts
Chapter 4. Handling Complex Deployment
Chapter 5. Going Cloud
Chapter 6. Getting Notifications from Ansible
Chapter 7. Creating a Custom Module
Chapter 8. Debugging and Error Handling
Chapter 9. Complex Environments
Chapter 10. Introducing Ansible for Enterprises