In this recipe, we will outline how to initiate jobs on AWX, using the AWX API. One of the main features in AWX is that it provides a powerful API in order to interact with the AWX system, to query all the objects within AWX, and to execute automation tasks from the AWX framework, such as templates and workflow templates. We can also use the API to list all the users/teams, and all the different resources available and configured on the AWX interface.
Running automation tasks using the AWX API
Getting ready
The AWX interface must be installed and reachable, and the templates and workflow templates must be configured as outlined in the previous chapters.
In order to execute the command to interact with the AWX API, we will...