mirror of
https://github.com/ansible/awx.git
synced 2026-07-29 08:59:55 -02:30
don't stringify source_vars['private'] for Openstack inventory updates
shade's OS_CLIENT_CONFIG_FILE expects the generated YAML value to be a boolean, not a stringified boolean Addresses #5030
This commit is contained in:
@@ -1358,7 +1358,7 @@ class RunInventoryUpdate(BaseTask):
|
||||
project_name=credential.project)
|
||||
if credential.domain not in (None, ''):
|
||||
openstack_auth['domain_name'] = credential.domain
|
||||
private_state = str(inventory_update.source_vars_dict.get('private', 'true'))
|
||||
private_state = inventory_update.source_vars_dict.get('private', True)
|
||||
# Retrieve cache path from inventory update vars if available,
|
||||
# otherwise create a temporary cache path only for this update.
|
||||
cache = inventory_update.source_vars_dict.get('cache', {})
|
||||
|
||||
Reference in New Issue
Block a user