From 3c7faa8378c2d0abfa0799a546b41d042b2ab6e3 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 14 Jul 2015 10:10:03 -0400 Subject: [PATCH] fixed missing self in self.action on rekey in vault fixes #11584 --- lib/ansible/cli/vault.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/cli/vault.py b/lib/ansible/cli/vault.py index 969ea2b6fa6..a56a2205a8e 100644 --- a/lib/ansible/cli/vault.py +++ b/lib/ansible/cli/vault.py @@ -58,7 +58,7 @@ class VaultCLI(CLI): self.parser.set_usage("usage: %prog view [options] file_name") elif self.action == "encrypt": self.parser.set_usage("usage: %prog encrypt [options] file_name") - elif action == "rekey": + elif self.action == "rekey": self.parser.set_usage("usage: %prog rekey [options] file_name") self.options, self.args = self.parser.parse_args()