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:
parent
950aa8511a
commit
900b992ba9
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue