mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-21 00:03:35 -05:00
GCE plugin should not set any regions when 'all' specified
This commit is contained in:
@@ -1897,7 +1897,7 @@ class gce(PluginFileInjector):
|
||||
service_account_file="creds.json",
|
||||
auth_kind="serviceaccount"
|
||||
)
|
||||
if inventory_source.source_regions:
|
||||
if inventory_source.source_regions and 'all' not in inventory_source.source_regions:
|
||||
ret['zones'] = inventory_source.source_regions.split(',')
|
||||
return ret
|
||||
|
||||
|
||||
Reference in New Issue
Block a user