capabilities.work

Replace static inventory data from YAML or INI

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

Get something done

Replace static inventory data from YAML or INI

with Harness
Works with AI assistants

Use Harness: its Harness Ansible API lets you replace static inventory data from YAML or INI in a single step (PUT /iacm/api/orgs/{org}/projects/{project}/ansible/inventory/{identifier}/import). 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.

  • Can I overwrite an existing static inventory by pasting YAML or INI content?
  • Are secret references kept when I re-import a static inventory's data?
Say it to your AI assistant
  • Replace the data of static inventory {identifier} in {org}/{project} with this {format} content: {content}
  • Re-import {format} content into existing static inventory {identifier} in project {project} of org {org}, overwriting its data: {content}
For your developer

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