mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-08 14:20:04 -07:00
* rewritten as list literals
* added changelog fragment
(cherry picked from commit b97e31dd55
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
055c8dac9c
commit
996ef6ab49
11 changed files with 55 additions and 94 deletions
|
@ -84,7 +84,5 @@ class Hiera(object):
|
|||
class LookupModule(LookupBase):
|
||||
def run(self, terms, variables=''):
|
||||
hiera = Hiera()
|
||||
ret = []
|
||||
|
||||
ret.append(hiera.get(terms))
|
||||
ret = [hiera.get(terms)]
|
||||
return ret
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue