Integrating AWX with your first playbook
There is a basic four-stageĀ processĀ involved in getting a playbook to run from AWX. Once you understand this, 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 point where we can run our first simple playbook, and this will give us the building blocks to move forward 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. Therefore, 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 from one project. This is also the case for inventories and credentials.
Before...