© Vincent Sesto 2021
V. SestoPractical Ansiblehttps://doi.org/10.1007/978-1-4842-6485-0_2

2. Ansible Playbooks

Vincent Sesto1  
(1)
Auckland, New Zealand
 

I’m hoping by now you can see Ansible is an easy way to remotely control applications and system configurations. 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 in a reusable set of tasks which will step through the implementation of your system into its desired state.

In this chapter, we’re going to introduce playbooks into your configuration management arsenal helping you deploy your ...

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.