From bcabbe33c83d93daec680fb760e65ed527e515cf Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Mon, 14 May 2018 21:10:28 -0400 Subject: [PATCH] terms --- lib/ansible/plugins/lookup/vars.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/plugins/lookup/vars.py b/lib/ansible/plugins/lookup/vars.py index 9fd77e63af..c238cf5721 100644 --- a/lib/ansible/plugins/lookup/vars.py +++ b/lib/ansible/plugins/lookup/vars.py @@ -11,7 +11,7 @@ DOCUMENTATION = """ description: - Retrieves the value of an Ansible variable. options: - _term: + _terms: description: The variable names to look up. required: True default: @@ -69,6 +69,7 @@ class LookupModule(LookupBase): self._templar.set_available_variables(variables) myvars = getattr(self._templar, '_available_variables', {}) + self.set_option('_terms', terms) self.set_options(direct=kwargs) default = self.get_option('default')