Is there a way to export my Tower (3.7.0) Inventory? I need to get a list of every host and it’s corresponding group in a CSV (if possible). I see this documentation but I do not see how I can get the information I need using the API calls.
If you’re using bash, you can use curl to submit an api request to tower, and then pipe it to jq in order to parse the response. Try something like this: