mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
Merge pull request #2712 from AlanCoding/easy_way
[openstack option 2] cherry pick only openstack critical fix for empty group
This commit is contained in:
commit
ebfae01aaa
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user