1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Remove decrypted vault temp_file mistakenly left from patch making vault edit idempotent

This bug was introduced in commit f8bf2ba on July 27.  Hasn't gone out
in a release yet.
This commit is contained in:
Toshio Kuratomi 2015-08-25 14:51:32 -07:00
parent 56ae3a032f
commit d2c948dd6a

View file

@ -257,6 +257,7 @@ class VaultEditor:
# Do nothing if the content has not changed
if existing_data == tmpdata and not force_save:
os.remove(tmp_path)
return
# create new vault