mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 10:11:05 -03:30
fixing inventory bug for GCE introduced fixing #616
This commit is contained in:
@@ -1219,7 +1219,7 @@ class RunInventoryUpdate(BaseTask):
|
|||||||
env['GCE_EMAIL'] = passwords.get('source_username', '')
|
env['GCE_EMAIL'] = passwords.get('source_username', '')
|
||||||
env['GCE_PROJECT'] = passwords.get('source_project', '')
|
env['GCE_PROJECT'] = passwords.get('source_project', '')
|
||||||
env['GCE_PEM_FILE_PATH'] = cloud_credential
|
env['GCE_PEM_FILE_PATH'] = cloud_credential
|
||||||
env['GCE_ZONE'] = inventory_source.source_regions
|
env['GCE_ZONE'] = inventory_update.source_regions
|
||||||
elif inventory_update.source == 'openstack':
|
elif inventory_update.source == 'openstack':
|
||||||
env['OS_CLIENT_CONFIG_FILE'] = cloud_credential
|
env['OS_CLIENT_CONFIG_FILE'] = cloud_credential
|
||||||
elif inventory_update.source == 'file':
|
elif inventory_update.source == 'file':
|
||||||
|
|||||||
Reference in New Issue
Block a user