Book Image

Hands-On Enterprise Automation on Linux

By : James Freeman
Book Image

Hands-On Enterprise Automation on Linux

By: James Freeman

Overview of this book

Automation is paramount if you want to run Linux in your enterprise effectively. It helps you minimize costs by reducing manual operations, ensuring compliance across data centers, and accelerating deployments for your cloud infrastructures. Complete with detailed explanations, practical examples, and self-assessment questions, this book will teach you how to manage your Linux estate and leverage Ansible to achieve effective levels of automation. You'll learn important concepts on standard operating environments that lend themselves to automation, and then build on this knowledge by applying Ansible to achieve standardization throughout your Linux environments. By the end of this Linux automation book, you'll be able to build, deploy, and manage an entire estate of Linux servers with higher reliability and lower overheads than ever before.
Table of Contents (23 chapters)
1
Section 1: Core Concepts
5
Section 2: Standardizing Your Linux Servers
10
Section 3: Day-to-Day Management
16
Section 4: Securing Your Linux Servers

Using Ansible to build and standardize the template

You should, by now, have a base Linux image for deployment in your enterprise. If you chose to download a ready-made template (or indeed, to make use of one provided by a public cloud provider), then your image will be very much a blank template, ready for customization. If you chose to build your own, then you may have already chosen to perform a small amount of customization such as the installation of cloud-init that we performed earlier. You will note, however, that we did this by hand, which is hardly along the line of the scalable, repeatable, auditable processes that we have lauded throughout the early parts of this book. As we proceed through this section of this chapter, we will take a look at how to customize a base template, regardless of its origin, using Ansible.

There is no one-size-fits-all Linux image that will...