mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 21:37:42 -02:30
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:
@@ -366,6 +366,7 @@ class VMWareInventory(object):
|
|||||||
def _get_instances(self, inkwargs):
|
def _get_instances(self, inkwargs):
|
||||||
''' Make API calls '''
|
''' Make API calls '''
|
||||||
instances = []
|
instances = []
|
||||||
|
si = None
|
||||||
try:
|
try:
|
||||||
si = SmartConnect(**inkwargs)
|
si = SmartConnect(**inkwargs)
|
||||||
except ssl.SSLError as connection_error:
|
except ssl.SSLError as connection_error:
|
||||||
|
|||||||
Reference in New Issue
Block a user