Comments (3)
Hi @xenlo
Thank you for reporting this issue!
I have confirmed that this problem occurs in Ansible 2.9.x.
This problem is caused by the absence of the following conditional statement.
--- before/vmware_vmotion.py 2020-04-27 22:36:29.727962635 +0900
+++ after/vmware_vmotion.py 2020-04-27 22:47:58.377684010 +0900
@@ -305,7 +305,8 @@
self.module.fail_json(msg="Multiple virtual machines with same name %s found."
" Please specify vm_uuid instead of vm_name." % self.vm_name)
- self.vm = vms[0]
+ if vms:
+ self.vm = vms[0]
def main():
This problem has been fixed in collections.
from community.vmware.
Thanks!
from community.vmware.
Indeed I see the correction here, —> Closing this issue.
from community.vmware.
Related Issues (20)
- Configuration: Cluster -> VM Overrides HOT 1
- Get the desired IP through inventory plugin
- vmware_portgroup, "hosts" or "cluster" required when logging into ESXi HOT 2
- Use toolsVersionStatus2 instead of toolsVersionStatus HOT 3
- `NotAllowedInCurrentState` exception when deploying using `vmware_content_deploy_ovf_template`
- vmware_vm_inventory not working HOT 5
- Disk resize fails when using Ansible 2.15 HOT 3
- Issue with AWX EE and Connecting to vcenter with vmware_guest HOT 3
- vmware.vcenter_folder: does not create folder at the root when a 'subfolder' with the same name already exists HOT 3
- Secondary disks created on incorrect datastore
- Re-enable vmware_content_library_manager integration tests
- Consistently receiving "500 - Internal Server Error" errors when using vsphere_copy HOT 1
- Unable to gather information about snapshots for non-existing VM HOT 2
- Unable to manage snapshots for non-existing VM
- vmware_guest_tools_info: Drop vm_tools_install_status HOT 1
- Vmware_vmotion: functionality to migrate specific vmdk only HOT 1
- vmware_guest_tools_info: AttributeError: 'NoneType' object has no attribute 'toolsInstallType' HOT 1
- Snapshot names are getting converted when the name contains data and time HOT 1
- community.vmware.vmware_guest_find - Failing due to SSL error despite validate_certs: no HOT 2
- `vmware_host_logbundle` only uses the 1st manifest HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from community.vmware.