© 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_6

6. Managing Users with Ansible Playbooks

Andrew Mallett1  
(1)
Peterborough, UK
 

Although we have already created a new user with an ad hoc command, we haven’t done the same with a Playbook. Creating users within a Playbook definition means those ad hoc steps become more prescriptive and will happen in the same way on each execution, importantly, without omissions. Even though our three hosts have the dedicated Ansible user account, we can provision new systems as they come online in a consistent manner using Playbooks.

In this chapter you will learn to write Playbooks ...

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.