mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fix config value type for VAULT_IDENTITY_LIST (#28678)
Was using the 'value_type' key, but didn't get updated to the new 'type' key in merge. Fix playbooks cli so it uses VAULT_IDENTITY_LIST as well.
This commit is contained in:
@@ -756,8 +756,12 @@ class CLI(with_metaclass(ABCMeta, object)):
|
||||
# all needs loader
|
||||
loader = DataLoader()
|
||||
|
||||
vault_ids = options.vault_ids
|
||||
default_vault_ids = C.DEFAULT_VAULT_IDENTITY_LIST
|
||||
vault_ids = default_vault_ids + vault_ids
|
||||
|
||||
vault_secrets = CLI.setup_vault_secrets(loader,
|
||||
vault_ids=options.vault_ids,
|
||||
vault_ids=vault_ids,
|
||||
vault_password_files=options.vault_password_files,
|
||||
ask_vault_pass=options.ask_vault_pass)
|
||||
loader.set_vault_secrets(vault_secrets)
|
||||
|
||||
Reference in New Issue
Block a user