From 9ee3cd14ee5ddb8be6ad63b66a26c868cd1511a9 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Wed, 22 Oct 2014 11:08:01 -0500 Subject: [PATCH] Fix typo in vault edit helper code Fixes #9399 --- lib/ansible/utils/vault.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/utils/vault.py b/lib/ansible/utils/vault.py index 506c0852f3c..50b686c1e04 100644 --- a/lib/ansible/utils/vault.py +++ b/lib/ansible/utils/vault.py @@ -189,7 +189,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))