mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-08 10:11:30 -07:00
Delimiter param must be a string
This commit is contained in:
parent
8737061a8f
commit
8156ad3760
1 changed files with 4 additions and 1 deletions
|
@ -63,7 +63,10 @@ class LookupModule(object):
|
||||||
for param in params[1:]:
|
for param in params[1:]:
|
||||||
name, value = param.split('=')
|
name, value = param.split('=')
|
||||||
assert(name in paramvals)
|
assert(name in paramvals)
|
||||||
paramvals[name] = value
|
if name == 'delimiter':
|
||||||
|
paramvals[name] = str(value)
|
||||||
|
else:
|
||||||
|
paramvals[name] = value
|
||||||
except (ValueError, AssertionError), e:
|
except (ValueError, AssertionError), e:
|
||||||
raise errors.AnsibleError(e)
|
raise errors.AnsibleError(e)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue