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