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 7
Building Custom Modules for Tasks
Content Locked
Section 5
Module Documentation and Metadata
A quality module has extensive documentation to show users how to use it. This documentation is also used to generate the Ansible website. - Describe our module’s purpose, inputs, and results using documentation - Provide examples for how to use our module directly in the module file - See how Ansible metadata and documentation is used to generate the Ansible website