From 9c9f15acb7b17ab787351482f8c6df8c98022f93 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Mon, 24 Feb 2014 13:20:27 -0500 Subject: [PATCH] Fix decryption error --- lib/ansible/utils/vault.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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