mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 21:51:26 -03:30
wrap --instance-id-var in quotes
This commit is contained in:
parent
9eaee801a7
commit
3b61b82616
@ -2552,7 +2552,7 @@ class RunInventoryUpdate(BaseTask):
|
||||
args.append('--exclude-empty-groups')
|
||||
if getattr(settings, '%s_INSTANCE_ID_VAR' % src.upper(), False):
|
||||
args.extend(['--instance-id-var',
|
||||
getattr(settings, '%s_INSTANCE_ID_VAR' % src.upper()),])
|
||||
"'{}'".format(getattr(settings, '%s_INSTANCE_ID_VAR' % src.upper())),])
|
||||
# Add arguments for the source inventory script
|
||||
args.append('--source')
|
||||
args.append(self.pseudo_build_inventory(inventory_update, private_data_dir))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user