mirror of
https://github.com/ansible/awx.git
synced 2026-02-25 06:56:00 -03:30
AC-615 Handle Rackspace inventory import when source_regions is empty string.
This commit is contained in:
@@ -782,7 +782,7 @@ class RunInventoryUpdate(BaseTask):
|
||||
env['EC2_INI_PATH'] = kwargs.get('private_data_file', '')
|
||||
elif inventory_source.source == 'rackspace':
|
||||
env['RAX_CREDS_FILE'] = kwargs.get('private_data_file', '')
|
||||
env['RAX_REGION'] = inventory_source.source_regions
|
||||
env['RAX_REGION'] = inventory_source.source_regions or 'all'
|
||||
# Set this environment variable so the vendored package won't
|
||||
# complain about not being able to determine its version number.
|
||||
env['PBR_VERSION'] = '0.5.21'
|
||||
|
||||
Reference in New Issue
Block a user