mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
GCE plugin should not set any regions when 'all' specified
This commit is contained in:
parent
de808d4911
commit
d46a403a49
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user