Files
oam/snippets/awx.sh
2024-06-26 22:36:46 +02:00

9 lines
281 B
Bash

#!/usr/bin/env sh
# List all available endpoints
curl -fs 'https://awx.company.com/api/v2/' | jq '.' -
# list all jobs
curl -fs --user 'admin:password' 'https://awx.company.com/api/v2/job_templates/' | jq '.' -
curl -fs 'https://awx.company.com/api/v2/job_templates/' | jq '.' -