Commit 9c9f15ac by James Tanner

Fix decryption error

parent 52a8efef
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment