Hi everyone,
For those using AWX, we’ve started a new open source project as a remote CLI to AWX. To encourage code reuse in proprietary applications, the AWX-CLI project (unlike Ansible) is Apache2 licensed.
So far there’s support for only a few basic commands – starting a job and checking the remote version of an AWX server. The main reason to do this was so that users integrating with Jenkins could easily call this script from their Jenkins project (some minor updates, like polling for completion and allowing prompted variables to be fed into the command line) are not quite yet supplied.
While this just has two commands now, commands are modular, so it’s easy to add more commands for tasks and we intend to add to these over time, as well as accept pull requests.
https://github.com/ansible/awx-cli
Authentication details as well as the server endpoint can be supplied on the command line or from a configuration file.
See the README.md for more details.
Note that does not replace server management commands like awx-manage inventory_import.