fix typo in ansible vault decrypt if vault error (#73542)
This commit is contained in:
parent
1cb753225c
commit
bcefb6b5f1
1 changed files with 1 additions and 1 deletions
|
@ -680,7 +680,7 @@ class VaultLib:
|
||||||
raise AnsibleVaultError("A vault password must be specified to decrypt data")
|
raise AnsibleVaultError("A vault password must be specified to decrypt data")
|
||||||
|
|
||||||
if not is_encrypted(b_vaulttext):
|
if not is_encrypted(b_vaulttext):
|
||||||
msg = "input is not vault encrypted data"
|
msg = "input is not vault encrypted data. "
|
||||||
if filename:
|
if filename:
|
||||||
msg += "%s is not a vault encrypted file" % to_native(filename)
|
msg += "%s is not a vault encrypted file" % to_native(filename)
|
||||||
raise AnsibleError(msg)
|
raise AnsibleError(msg)
|
||||||
|
|
Loading…
Reference in a new issue