mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
terms
This commit is contained in:
parent
cbedbd3c9c
commit
bcabbe33c8
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,7 @@ DOCUMENTATION = """
|
||||||
description:
|
description:
|
||||||
- Retrieves the value of an Ansible variable.
|
- Retrieves the value of an Ansible variable.
|
||||||
options:
|
options:
|
||||||
_term:
|
_terms:
|
||||||
description: The variable names to look up.
|
description: The variable names to look up.
|
||||||
required: True
|
required: True
|
||||||
default:
|
default:
|
||||||
|
@ -69,6 +69,7 @@ class LookupModule(LookupBase):
|
||||||
self._templar.set_available_variables(variables)
|
self._templar.set_available_variables(variables)
|
||||||
myvars = getattr(self._templar, '_available_variables', {})
|
myvars = getattr(self._templar, '_available_variables', {})
|
||||||
|
|
||||||
|
self.set_option('_terms', terms)
|
||||||
self.set_options(direct=kwargs)
|
self.set_options(direct=kwargs)
|
||||||
default = self.get_option('default')
|
default = self.get_option('default')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue