© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
V. SestoPractical Ansiblehttps://doi.org/10.1007/978-1-4842-8643-2_2

2. Ansible Playbooks

Vincent Sesto1  
(1)
Auckland, New Zealand
 

I’m hoping by now you can see Ansible is an easy way to control applications and system configurations remotely. But running each command in the command line is not the most efficient way of deploying these changes to our environments. This is where we can introduce playbooks. Ansible playbooks can contain a play or multiple plays and help you automate system configurations. It has a reusable set of tasks that will step through the implementation of your system into its desired state.

In this chapter, we’re going to introduce playbooks ...

Get Practical Ansible: Configuration Management from Start to Finish now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.