Correctly append --ask-vault-password as a single argument

Closes-Bug: #2106540
Change-Id: I143e3267622b106fa65bc952d62412ffcaeeae7c
Signed-off-by: Michael Klippberg <klippo@deny.se>
This commit is contained in:
klippo 2025-04-09 09:26:00 +02:00
parent d64909ff30
commit c08bd597ce
No known key found for this signature in database
GPG Key ID: 333E80A18D351820

@ -253,7 +253,7 @@ def build_args(parsed_args,
for vault_pass_file in parsed_args.vault_password_file:
args += ["--vault-password-file", vault_pass_file]
if parsed_args.ask_vault_password:
args += "--ask-vault-password"
args += ["--ask-vault-password"]
vars_files = _get_vars_files(
os.path.abspath(parsed_args.kolla_config_path))
for vars_file in vars_files: