capabilities.work

Count Ansible hosts by latest run status

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

Look something up

Count Ansible hosts by latest run status

with Harness
Works with AI assistants

Use Harness: its Harness Ansible API lets you count Ansible hosts by latest run status in a single step (GET /iacm/api/orgs/{org}/projects/{project}/ansible/hosts/summary). 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.

  • How many of my Ansible hosts are currently failing versus succeeding?
  • Can I get host counts grouped by last activity status for one inventory?
Say it to your AI assistant
  • Summarize Ansible host counts by latest status in {org}/{project}.
  • Give me the host status summary for inventory {inventory} in {org}/{project}.
For your developer

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