AWX CLI Execution Notes
Execute Various Tower Jobs
- Execute a specific job
tower-cli job launch --job-template=49
- Provision a VM based on variables
tower-cli workflow_job launch -W 92 --extra-vars="@vm_build.yml"
- Check if other jobs are running
tower-cli workflow_job list --status "running"
- Find hosts in inventory
tower-cli host list -i 5
- Delete hosts from inventory
tower-cli host delete -n IP_TO_DELETE -i 5