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

fixed var name for ansible vault editing existing data

This commit is contained in:
Brian Coca 2015-04-24 22:31:06 -04:00
parent 950aa8511a
commit 900b992ba9

View file

@ -203,7 +203,7 @@ class VaultEditor(object):
_, tmp_path = tempfile.mkstemp() _, tmp_path = tempfile.mkstemp()
if existing_data: if existing_data:
self.write_data(data, tmp_path) self.write_data(existing_data, tmp_path)
# drop the user into an editor on the tmp file # drop the user into an editor on the tmp file
call(self._editor_shell_command(tmp_path)) call(self._editor_shell_command(tmp_path))