Book Image

Learning Ansible 2.7 - Third Edition

By : Fabio Alessandro Locati
Book Image

Learning Ansible 2.7 - Third Edition

By: Fabio Alessandro Locati

Overview of this book

Ansible is an open source automation platform that assists organizations with tasks such as application deployment, orchestration, and task automation. With the release of Ansible 2.7, even complex tasks can be handled much more easily than before. Learning Ansible 2.7 will help you take your first steps toward understanding the fundamentals and practical aspects of Ansible by introducing you to topics such as playbooks, modules, and the installation of Linux, Berkeley Software Distribution (BSD), and Windows support. In addition to this, you will focus on various testing strategies, deployment, and orchestration to build on your knowledge. The book will then help you get accustomed to features including cleaner architecture, task blocks, and playbook parsing, which can help you to streamline automation processes. Next, you will learn how to integrate Ansible with cloud platforms such as Amazon Web Services (AWS) before gaining insights into the enterprise versions of Ansible, Ansible Tower and Ansible Galaxy. This will help you to use Ansible to interact with different operating systems and improve your working efficiency. By the end of this book, you will be equipped with the Ansible skills you need to automate complex tasks for your organization.
Table of Contents (18 chapters)
Free Chapter
1
Section 1: Creating a Web Server Using Ansible
4
Section 2: Deploying Playbooks in a Production Environment
9
Section 3: Deploying an Application with Ansible
13
Section 4: Deploying an Application with Ansible

What this book covers

Chapter 1, Getting Started with Ansible, explains how to install Ansible.

Chapter 2, Automating Simple Tasks, explains how to create simple playbooks that will allow you to automate some simple tasks that you already perform on a daily basis.

Chapter 3, Scaling to Multiple Hosts, explains how to handle multiple hosts in Ansible in an easy-to-scale way.

Chapter 4, Handling Complex Deployment, explains how to create deployments that have multiple phases, as well as multiple machines.

Chapter 5, Going Cloud, explains how Ansible can integrate with various cloud offerings, and how it can simplify your life, managing the cloud for you.

Chapter 6, Getting Notification from Ansible, explains how to set up Ansible to return valuable information to you and other stakeholders.

Chapter 7, Creating a Custom Module, explains how to create a custom module to leverage the freedom Ansible gives you.

Chapter 8, Debugging and Error Handling, explains how to debug and test Ansible to ensure that your playbooks will always work.

Chapter 9, Complex Environments, explains how to manage multiple tiers, environments, and deployments with Ansible.

Chapter 10, Introducing Ansible for Enterprises, explains how to manage Windows nodes from Ansible, as well as how to leverage Ansible Galaxy to maximize your productivity.

Chapter 11, Getting Started with AWX, explains what AWX is and how you can start using it.

Chapter 12, Working with AWX Users, Permissions, and Organizations, explains how AWX users and permissions management works.