mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #10255 from bcoca/vaultpass_fix
valutpass fix in password reorg
This commit is contained in:
commit
79c809edcc
1 changed files with 1 additions and 1 deletions
|
@ -1132,7 +1132,7 @@ def ask_passwords(ask_pass=False, ask_sudo_pass=False, ask_su_pass=False, ask_va
|
|||
if ask_vault_pass:
|
||||
vaultpass = getpass.getpass(prompt="Vault password: ")
|
||||
if vaultpass:
|
||||
vaultpass = to_bytes(vault_pass, errors='strict', nonstring='simplerepr').strip()
|
||||
vaultpass = to_bytes(vaultpass, errors='strict', nonstring='simplerepr').strip()
|
||||
|
||||
return (sshpass, sudopass, supass, vaultpass)
|
||||
|
||||
|
|
Loading…
Reference in a new issue