mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Fix decryption error
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user