run_playbook
Execute and manage Ansible playbooks directly through the MCP server, enabling automation of tasks, inventory management, and configuration deployment with specified parameters.
Instructions
Run an Ansible playbook
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extraVars | No | ||
| inventory | No | ||
| limit | No | ||
| playbook | Yes | ||
| tags | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"extraVars": {
"additionalProperties": {},
"type": "object"
},
"inventory": {
"type": "string"
},
"limit": {
"type": "string"
},
"playbook": {
"minLength": 1,
"type": "string"
},
"tags": {
"type": "string"
}
},
"required": [
"playbook"
],
"type": "object"
}