mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07: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:
parent
54c295699e
commit
1f962bd937
3 changed files with 13 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -1067,7 +1067,7 @@ DEFAULT_VAULT_IDENTITY_LIST:
|
|||
env: [{name: ANSIBLE_VAULT_IDENTITY_LIST}]
|
||||
ini:
|
||||
- {key: vault_identity_list, section: defaults}
|
||||
value_type: list
|
||||
type: list
|
||||
vars: []
|
||||
yaml: {key: defaults.vault_identity_list}
|
||||
DEFAULT_VAULT_PASSWORD_FILE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue