run_ansible_playbook
Run an existing Ansible playbook to deploy or configure a service on a homelab device. Provide service name and hostname; optionally set SSH credentials, tags, variables, or dry-run mode.
Instructions
Run an existing Ansible playbook for a service
Input 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) |