Create a static inventory from YAML or INI
One step with Harness. We can help you get access.
Get something done
Create a static inventory from YAML or INI
with Harness
Works with AI assistants
Use Harness: its Harness Ansible API lets you create a static inventory from YAML or INI in a single step (POST /iacm/api/orgs/{org}/projects/{project}/ansible/inventory/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 import an existing hosts file in INI format as a new inventory?
- How do I create a static inventory from YAML content I already have?
Say it to your AI assistant
- Import a new static inventory {name} ({identifier}) from this {format} content in {org}/{project}: {content}
- Create static inventory {identifier} named {name} in {org}/{project} from my {format} hosts file: {content}
For your developer
POST /iacm/api/orgs/{org}/projects/{project}/ansible/inventory/import in Harness Ansible API. Full spec on APIs.io.