run_ansible_playbook
Execute Ansible playbooks to deploy and configure services on homelab devices using SSH connections and customizable parameters.
Instructions
Run an existing Ansible playbook for a service
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_name | Yes | Name of the service playbook to run | |
| hostname | Yes | Hostname or IP address of the device | |
| username | No | SSH username (use 'mcp_admin' for passwordless access after setup) | mcp_admin |
| password | No | SSH password (not needed for mcp_admin after setup) | |
| tags | No | Ansible tags to run specific tasks | |
| extra_vars | No | Extra variables to pass to the playbook | |
| check_mode | No | Run in check mode (dry run) | |
| port | No | SSH port (default: 22) |