There is a basic four-stage process involved in getting a playbook to run from AWX, and once this is understood, it paves the way for more advanced usage and fuller integration in an enterprise environment. In this part of the chapter, we will master these four stages in order to get to the stage where we can run our first simple playbook, and this will give us the building blocks to move forwards with AWX in confidence. The four stages are as follows:
- Define a project.
- Define an inventory.
- Define credentials.
- Define a template.
The first three stages can be performed in any order, but the template mentioned in the final stage pulls together the three previously-created facets, and so, it must be defined last. Also, note that there does not need to be a one-to-one relationship between these items—several templates can be created...