update to latest vmware_inventory.py

63737ec0f8/contrib/inventory/vmware_inventory.py

see: https://github.com/ansible/awx/issues/5648
This commit is contained in:
Ryan Petrello 2020-01-15 10:40:01 -05:00
parent 78e2cd7084
commit 6e5028587a
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -366,6 +366,7 @@ class VMWareInventory(object):
def _get_instances(self, inkwargs):
''' Make API calls '''
instances = []
si = None
try:
si = SmartConnect(**inkwargs)
except ssl.SSLError as connection_error: