ansible-service-manager
Check, start, stop, restart, or reload services on target hosts using Ansible, with optional log retrieval for troubleshooting.
Instructions
Manage services with status checking and log correlation.
Args: host_pattern: Target hosts pattern service_name: Name of the service action: Action to perform (status, start, stop, restart, reload) project_root: Project root directory ansible_cfg_path: Ansible config file path inventory_paths: Inventory file paths check_logs: Fetch recent service logs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| check_logs | No | ||
| host_pattern | Yes | ||
| project_root | No | ||
| service_name | Yes | ||
| inventory_paths | No | ||
| ansible_cfg_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||