From 6e5028587ac9efa14267074fd1e370845fb25478 Mon Sep 17 00:00:00 2001 From: Ryan Petrello Date: Wed, 15 Jan 2020 10:40:01 -0500 Subject: [PATCH] update to latest vmware_inventory.py https://github.com/jladdjr/ansible/blob/63737ec0f8a37da17278cc257dde39e89eec6df2/contrib/inventory/vmware_inventory.py see: https://github.com/ansible/awx/issues/5648 --- awx/plugins/inventory/vmware_inventory.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/plugins/inventory/vmware_inventory.py b/awx/plugins/inventory/vmware_inventory.py index 183b9a19b0..0271110c96 100755 --- a/awx/plugins/inventory/vmware_inventory.py +++ b/awx/plugins/inventory/vmware_inventory.py @@ -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: