Windows - remove Metricbeat
Description
This playbook uninstalls Metricbeat from Windows servers. It checks if the Metricbeat service exists, stops the service, and removes it using the provided PowerShell script. If the service cannot be stopped, the process is forcibly terminated.
Credentials
- sys_ansible_windows
Input
| Variable | Description |
|---|---|
target |
Target host for uninstallation. |
Output
None