run_ad_hoc
Execute Ansible ad-hoc commands on specific hosts to manage configurations, deploy applications, or perform system tasks directly from the Ansible MCP Server interface.
Instructions
Run an Ansible ad-hoc command against specified hosts
Input Schema
Name | Required | Description | Default |
---|---|---|---|
args | No | ||
become | No | ||
extra_vars | No | ||
inventory | No | ||
module | No | shell | |
pattern | Yes |