Update a host in an Ansible inventory
One step with Harness. We can help you get access.
Get something done
Update a host in an Ansible inventory
with Harness
Works with AI assistants
Use Harness: its Harness Ansible API lets you update a host in an Ansible inventory in a single step (PUT /iacm/api/orgs/{org}/projects/{project}/ansible/inventory/{inventory_identifier}/hosts/{host_address}). 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 move an inventory host into different groups?
- How do I change the vars set on one host in an inventory?
Say it to your AI assistant
- Put host {host_address} in inventory {inventory} into groups {groups} in {org}/{project}.
- Change the vars of host {host_address} in inventory {inventory} to {vars} in {org}/{project}.
For your developer
PUT /iacm/api/orgs/{org}/projects/{project}/ansible/inventory/{inventory_identifier}/hosts/{host_address} in Harness Ansible API. Full spec on APIs.io.