diff --git a/awx/plugins/inventory/openstack.py b/awx/plugins/inventory/openstack.py index 30007e408c..05894c7bf3 100755 --- a/awx/plugins/inventory/openstack.py +++ b/awx/plugins/inventory/openstack.py @@ -81,7 +81,8 @@ def get_groups_from_server(server_vars, namegroup=True): groups.append(cloud) # Create a group on region - groups.append(region) + if region: + groups.append(region) # And one by cloud_region groups.append("%s_%s" % (cloud, region))