Purpose of this articles is using Postman to trigger API to Ansible Tower (AWX).
This reference later can be used as baseline integrating with automation solutions.
- Adjust Postman credential binding using basic authentication. We can use Postman environment to pass username and password as parameters. Recommended method of authenticating to Ansible Tower by using token based.
- Create sample host using either IP Address or hostname that resolvable from the tower. Put meaningful description as reference to check later on.
- Run existing job that already have extra variables to specifically trigger host/group in the inventory. Pass the host information during triggering the launch Job Template API.
- Check the job number. Take note of the job ID.
- Check whether the job status completed successfully or there’s some failure happened.
Some basic reference can follow this articles Getting Started Ansible Tower API
Detail Tower API, check Tower API Reference Guide