Book description
Learn everything you need to manage and handle your systems with ease with Ansible 2 using this comprehensive guide
About This Book
- 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
Who This Book Is For
The book is for sys admins who want to automate their organization’s infrastructure using Ansible 2. No prior knowledge of Ansible is required.
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 AWS 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
In Detail
Ansible is an open source automation platform that assists organizations with tasks such as configuration management, application deployment, orchestration, and task automation. With Ansible, even complex tasks can be handled easier than before.
In this book, you will learn about the fundamentals and practical aspects of Ansible 2 by diving deeply 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 with cloud platforms such as AWS. The book ends with the enterprise versions of Ansible, Ansible Tower and Ansible Galaxy, where you will learn to interact Ansible with different OSes to speed up your work to previously unseen levels
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.
Style and approach
This book is a step-by-step learning guide on the all new Ansible 2, which is an ideal configuration management tool.
Table of contents
-
Learning Ansible 2 Second Edition
- Learning Ansible 2 Second Edition
- Credits
- About the Author
- About the Reviewer
- www.PacktPub.com
- Preface
- 1. Getting Started with Ansible
- 2. Automating Simple Tasks
- 3. Scaling to Multiple Hosts
- 4. Handling Complex Deployment
-
5. Going Cloud
- Provisioning resources in the cloud
-
Amazon Web Service
- AWS global infrastructure
- AWS Simple Storage Service
- AWS Elastic Compute Cloud (EC2)
- AWS Virtual Private Cloud (VPC)
- AWS Route 53
- AWS Elastic Block Storage (EBS)
- AWS Identity and Access Management
- Amazon relational database service
- Setting up an account with AWS
- Simple AWS deployment
- Complex AWS deployment
- DigitalOcean
- Summary
- 6. Getting Notifications from Ansible
- 7. Creating a Custom Module
- 8. Debugging and Error Handling
-
9. Complex Environments
- Code based on the Git branch
- A single stable branch with multiple folders
- Software distribution strategy
- Preparing the environment
- Deploying a web app with revision control systems
- Deploying a web app with RPM packages
- Building compiled software with RPM packaging
- Deployment strategies
- Optimizations
- Summary
- 10. Introducing Ansible for Enterprises
Product information
- Title: Learning Ansible 2 - Second Edition
- Author(s):
- Release date: November 2016
- Publisher(s): Packt Publishing
- ISBN: 9781786464231
You might also like
book
Mastering Ansible - Second Edition
Master the ins and outs of advanced operations with Ansible About This Book Learn how to …
book
Practical Ansible 2
Leverage the power of Ansible to gain complete control over your systems and automate application deployment …
book
Ansible: Up and Running
Among the many configuration management tools available, Ansible has some distinct advantages—it’s minimal in nature, you …
book
Ansible Quick Start Guide
Configure Ansible and start coding YAML playbooks using the appropriate modules Key Features Create and use …