We have finally arrived at the part of the book where we can put our hands on the keyboard and create our very first OpenStack administration playbook. The task of creating users and tenants for your OpenStack cloud is literally one of the first steps in setting up your cloud for user consumption. So, let's get started. We will see how one would manually do this first and then transition into creating a playbook with roles to fully automate it. While creating the playbook/role, I will try to highlight any possible concerns and flexible ways in which you can accomplish this using Ansible. We will cover the following:
Creating users and tenants
Automation considerations
Coding the playbook and roles
The playbook and role review