Book

How To Manage Remote Servers with Ansible eBook

Published on February 17, 2021

Developer Advocate

How To Manage Remote Servers with Ansible eBook

Introduction to the eBook

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.

This book is based on the How To Manage Remote Servers with Ansible tutorial series found on DigitalOcean Community. The topics that it covers include how to:

  1. Become familiar with configuration management tools and processes, and the benefits of using them to manage your infrastructure.

  2. 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.

  3. Build inventory files and organize your servers into groups to selectively control how and where Ansible commands are run.

  4. Run Ad Hoc commands to execute individual tasks on one, or multiple remote servers.

  5. 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.

Download the eBook

You can download the eBook in either the EPUB or PDF format by following the links below.

Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.

Learn more about our products


About the authors
Default avatar

Developer Advocate

Dev/Ops passionate about open source, PHP, and Linux.

Still looking for an answer?

Ask a questionSearch for more help

Was this helpful?
 
Leave a comment


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Join the Tech Talk
Success! Thank you! Please check your email for further details.

Please complete your information!

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel