diff --git a/lib/ansible/utils/vault.py b/lib/ansible/utils/vault.py index b5987151a3e..a19b93e5012 100644 --- a/lib/ansible/utils/vault.py +++ b/lib/ansible/utils/vault.py @@ -99,7 +99,7 @@ class VaultLib(object): this_data = '\n'.join(split_data[1:]) test_sha = sha256(this_data).hexdigest() if this_sha != test_sha: - raise errors.AnsibleError("Decryption of %s failed" % filename) + raise errors.AnsibleError("Decryption failed") return this_data