Due to changes in https://github.com/ansible/ansible/pull/45412 vmware_guest testcase delete_vm failed. This patch will fix that testcase. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This fix checks if VM is poweredoff before it can be destroyed. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>