Create a group in an Ansible inventory
One step with Harness. We can help you get access.
Get something done
Create a group in an Ansible inventory
with Harness
Works with AI assistants
Use Harness: its Harness Ansible API lets you create a group in an Ansible inventory in a single step (POST /iacm/api/orgs/{org}/projects/{project}/ansible/inventory/{inventory_identifier}/groups). 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 do I create a new host group inside an inventory?
- Can an inventory group pull hosts dynamically through a connector?
Say it to your AI assistant
- Create group {name} with identifier {identifier} in inventory {inventory} in {org}/{project}.
- Add a new group {name} ({identifier}) to inventory {inventory} in {org}/{project} containing hosts {hosts}.
For your developer
POST /iacm/api/orgs/{org}/projects/{project}/ansible/inventory/{inventory_identifier}/groups in Harness Ansible API. Full spec on APIs.io.