mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-06 00:14:02 -07:00
parent
2f33c1a1a1
commit
5553b20828
206 changed files with 1853 additions and 1870 deletions
|
@ -37,7 +37,7 @@ def _parse_params(term):
|
|||
params[k] = ''
|
||||
|
||||
thiskey = 'key'
|
||||
for idp,phrase in enumerate(term.split()):
|
||||
for idp, phrase in enumerate(term.split()):
|
||||
for k in keys:
|
||||
if ('%s=' % k) in phrase:
|
||||
thiskey = k
|
||||
|
@ -81,7 +81,7 @@ class LookupModule(LookupBase):
|
|||
|
||||
basedir = self.get_basedir(variables)
|
||||
self.basedir = basedir
|
||||
self.cp = configparser.ConfigParser()
|
||||
self.cp = configparser.ConfigParser()
|
||||
|
||||
ret = []
|
||||
for term in terms:
|
||||
|
@ -89,11 +89,11 @@ class LookupModule(LookupBase):
|
|||
key = params[0]
|
||||
|
||||
paramvals = {
|
||||
'file' : 'ansible.ini',
|
||||
're' : False,
|
||||
'default' : None,
|
||||
'section' : "global",
|
||||
'type' : "ini",
|
||||
'file': 'ansible.ini',
|
||||
're': False,
|
||||
'default': None,
|
||||
'section': "global",
|
||||
'type': "ini",
|
||||
}
|
||||
|
||||
# parameters specified?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue