capabilities.work

Update a group in an Ansible inventory

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

Get something done

Update a group in an Ansible inventory

with Harness
Works with AI assistants

Use Harness: its Harness Ansible API lets you update a group in an Ansible inventory in a single step (PUT /iacm/api/orgs/{org}/projects/{project}/ansible/inventory/{inventory_identifier}/groups/{identifier}). 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 change the hosts or vars of an existing inventory group?
  • What do I send to rename a group inside an inventory?
Say it to your AI assistant
  • Rename group {identifier} in inventory {inventory} to {name} in {org}/{project}.
  • Set the hosts of existing group {identifier} in inventory {inventory} to {hosts}, name {name}, in {org}/{project}.
For your developer

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