From 900b992ba9b0960a5416dc619df1e847d3044773 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 24 Apr 2015 22:31:06 -0400 Subject: [PATCH] fixed var name for ansible vault editing existing data --- v2/ansible/parsing/vault/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/ansible/parsing/vault/__init__.py b/v2/ansible/parsing/vault/__init__.py index 80c48a3b69..e45fddc197 100644 --- a/v2/ansible/parsing/vault/__init__.py +++ b/v2/ansible/parsing/vault/__init__.py @@ -203,7 +203,7 @@ class VaultEditor(object): _, tmp_path = tempfile.mkstemp() 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 call(self._editor_shell_command(tmp_path))