capabilities.work

List hosts in one Ansible inventory

One step with Harness. We can help you get access.

Look something up

List hosts in one Ansible inventory

with Harness
Works with AI assistants

Use Harness: its Harness Ansible API lets you list hosts in one Ansible inventory in a single step (GET /iacm/api/orgs/{org}/projects/{project}/ansible/inventory/{identifier}/hosts). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • Which hosts are in one particular inventory?
  • Can I list an inventory's hosts limited to a single group?
Say it to your AI assistant
  • List hosts in inventory {identifier} in {org}/{project}.
  • List hosts in group {group} of inventory {identifier} in {org}/{project}.
For your developer

GET /iacm/api/orgs/{org}/projects/{project}/ansible/inventory/{identifier}/hosts in Harness Ansible API. Full spec on APIs.io.