Skip to main content
Glama

Ansible MCP Server

by tarnover

terraform

Manage infrastructure as code by executing Terraform commands such as init, plan, apply, and destroy through the Ansible MCP Server for streamlined operations and automation.

Instructions

Execute Terraform commands (init, plan, apply, destroy, validate, output, etc.)

Input Schema

NameRequiredDescriptionDefault
actionYes
autoApproveNo
backendConfigNo
lockTimeoutNo
refreshNo
stateNo
targetNo
useLocalstackNo
varFilesNo
varsNo
workingDirYes
workspaceNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "action": { "enum": [ "init", "plan", "apply", "destroy", "validate", "output", "import", "workspace" ], "type": "string" }, "autoApprove": { "default": false, "type": "boolean" }, "backendConfig": { "additionalProperties": { "type": "string" }, "type": "object" }, "lockTimeout": { "type": "string" }, "refresh": { "default": true, "type": "boolean" }, "state": { "type": "string" }, "target": { "items": { "type": "string" }, "type": "array" }, "useLocalstack": { "default": false, "type": "boolean" }, "varFiles": { "items": { "type": "string" }, "type": "array" }, "vars": { "additionalProperties": {}, "type": "object" }, "workingDir": { "minLength": 1, "type": "string" }, "workspace": { "type": "string" } }, "required": [ "action", "workingDir" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tarnover/mcp-ansible'

If you have feedback or need assistance with the MCP directory API, please join our Discord server