© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
A. MallettRed Hat Certified Engineer (RHCE) Study Guidehttps://doi.org/10.1007/978-1-4842-6861-2_5

5. Writing YAML and Basic Playbooks

Andrew Mallett1  
(1)
Peterborough, UK
 

Ad hoc commands in Ansible are awesome; look how we were able to easily create the user account across all three systems. However, we must not let ourselves become too caught up in the excitement of what we have achieved; ad hoc commands were part of our journey but not the destination. So, let us celebrate that which we have achieved but not rest too long; we will move forward and begin our understanding of Playbooks and the basics of YAML. The first thing to understand is the acronym ...

Get Red Hat Certified Engineer (RHCE) Study Guide: Ansible Automation for the Red Hat Enterprise Linux 8 Exam (EX294) 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.