Decommission VM
Description
This automation script decommissions a virtual machine by moving it to the End-of-Life (EOL) datastore and removing it from the Vsphere inventory. It ensures the VM is powered off before performing the storage vMotion and removal.
Credentials
- sys_ansible_vmware
Input
| Variable | Description |
|---|---|
target |
The target VM to decommission |
Output
None