Book Image

Hands-On Infrastructure Automation with Ansible [Video]

By : Alan Hohn
4 (1)
Book Image

Hands-On Infrastructure Automation with Ansible [Video]

4 (1)
By: Alan Hohn

Overview of this book

Ansible is an infrastructure automation framework; other examples include Chef, Puppet, and SaltStack. While each framework offers its own unique features, Ansible has an advantage: simplicity. Ansible configuration uses simple, compact, and clean YAML files that are easy to understand and maintain. Ansible is agentless, which means Ansible itself doesn't need to be installed on target machines. At the same time, while Ansible is simple to learn, it is powerful and extensible, making it the perfect choice even for demanding tasks such as configuring an entire OpenStack cluster. This video course will show you how to use Ansible to automate deployment so you can quickly and reliably run and upgrade your applications. You will learn how Infrastructure Automation results in cost reduction, productivity, availability, reliability, and performance. You will follow along step-by-step on a real Ansible deployment of dotCMS, an open-source Content Management System (CMS), which will deliver content to websites, intranets and mobile apps. You will gain real-world experience that will get you started quickly on your own deployments. This will include information on all of Ansible's core concepts and features, including playbooks, tasks, roles, templates, variables, and modules. By the end of the course, you will be able to create and maintain Ansible playbooks, roles, and custom modules, enabling you to make full use of Ansible as part of a DevOps or automation strategy. The code bundle for this video course is available at https://github.com/PacktPublishing/Hands-on-Infrastructure-Automation-with-Ansible
Table of Contents (8 chapters)
Chapter 8
Using Ansible with Other Tools
Content Locked
Section 3
Ansible and Vagrant Custom Variables
Vagrant is a tool for dynamic virtual machines, and when we’re using Ansible to provision Vagrant machines, we want to be able to pass information to Ansible dynamically as well. - Pass data from environment variables through Vagrant to Ansible - Build a Vagrant file that creates multiple virtual machines - Pass dynamic data to Ansible about the Vagrant virtual machines we created