capabilities.work

Update existing inventory variables

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

Get something done

Update existing inventory variables

with Harness
Works with AI assistants

Use Harness: its Harness Ansible API lets you update existing inventory variables in a single step (PUT /iacm/api/orgs/{org}/projects/{project}/ansible/inventory/{identifier}/vars). 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 change variables that already exist on an inventory?
  • Can I update an inventory's environment variables along with its vars?
Say it to your AI assistant
  • Update existing vars on inventory {identifier} in {org}/{project} to {vars}.
  • Change environment variables already on inventory {identifier} in {org}/{project} to {env_vars}, with vars {vars}.
For your developer

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