Instead of ignoring a failed command (because the VM isn't actually
available to be remove), pull back a list of VMs using the virt module
and then add a when clause to the commands.
Also changes from shell to command module so allow for a clean pass
of ansible-lint.
Instead of ignoring a failed command (because the VM isn't actually available to be remove), pull back a list of VMs using the virt module and then add a when clause to the commands.
Also changes from shell to command module so allow for a clean pass of ansible-lint.