How To Manage Remote Servers with Ansible

by Erika Heidi

DescriptionTable of ContentsDetailsHashtagsReport an issue

Book Description

This book is designed to introduce you to using Ansible to manage your servers. You'll learn how to install and configure Ansible on a control node, and then how to use it to configure and run commands on remote servers. You'll also learn how to collect tasks into complete Playbooks to automate server setup from start to finish.

The topics that it covers include how to:
- Become familiar with configuration management tools and processes, and the benefits of using them to manage your infrastructure.
- Install and configure Ansible on an Ubuntu 20.04 control node, ensuring that your servers are properly set up and that you are able to execute remote instructions through Ansible.
- Build inventory files and organize your servers into groups to selectively control how and where Ansible commands are run.
- Run Ad Hoc commands to execute individual tasks on one, or multiple remote servers.
- Package individual commands into Playbooks that you can use to automate the provisioning of multiple servers, and how to run specific sets of tasks in Playbooks using tags.

Each chapter is usable on its own as a reference, or as part of a progressive guide to learning how to manage your servers with Ansible. If you're familiar with a topic, or are more interested in a particular section, feel free to jump to the chapter that best suits your purpose.

This open book is licensed under a Creative Commons License (CC BY-NC-SA). You can download How To Manage Remote Servers with Ansible ebook for free in PDF format (1.4 MB).

Table of Contents

 
An Introduction to Configuration Management with Ansible
 
How To Install and Configure Ansible on Ubuntu 20.04
 
How To Set Up Ansible Inventories
 
How To Manage Multiple Servers with Ansible Ad Hoc Commands
 
How To Execute Ansible Playbooks to Automate Server Setup

Book Details

Subject
Computer Science
Publisher
DigitalOcean
Published
2021
Pages
72
Edition
1
Language
English
ISBN13 Digital
9781735831732
ISBN10 Digital
1735831735
PDF Size
1.4 MB
License
CC BY-NC-SA

Related Books

How To Manage a Redis Database
This book aims to provide an approachable introduction to Redis concepts by outlining many of the key-value store's commands so readers can learn their patterns and syntax, thus building up readers' understanding gradually. The goal for this book is to serve as an introduction to Redis for those interested in getting started with it, or key-value s...
How To Build a Website With CSS and HTML
This project-based eBook will introduce you to Cascading Style Sheets (CSS), a stylesheet language used to control the presentation of websites, by building a personal website using our demonstration site as a model. Though our demonstration site features Sammy the Shark, you can switch out Sammy's information with your own if you wish to personali...
How To Code in Node.js
Node.js is a popular open-source runtime environment that can execute JavaScript outside of the browser. The Node runtime is commonly used for back-end web development, leveraging its asynchronous capabilities to create networking applications and web servers. Node is also a popular choice for building command line tools. In this book, you will ...
How To Code in React.js
This open book is an introduction to React that works from the foundations upward. Each chapter takes you a little deeper into the React ecosystem, building on your previous knowledge. Along the way, you'll learn how to maintain internal state, pass information between parts of an application, and explore different options for styling your applicat...
How To Code in Go
This book is designed to introduce you to writing programs with the Go programming language. You'll learn how to write useful tools and applications that can run on remote servers, or local Windows, macOS, and Linux systems for development. The topics that it covers include how to: - Install and set up a local Go development environment on Wind...
Managing Risk and Information Security
Examine the evolving enterprise security landscape and discover how to manage and survive risk. While based primarily on the author's experience and insights at major companies where he has served as CISO and CSPO, the book also includes many examples from other well-known companies and provides guidance for a management-level audience. Managing...