mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 22:46:01 -03:30
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",
|
service_account_file="creds.json",
|
||||||
auth_kind="serviceaccount"
|
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(',')
|
ret['zones'] = inventory_source.source_regions.split(',')
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user