mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
AnsibleModule (in module_common.py) now correctly reads param values containing '='.
This commit is contained in:
parent
baf07659f7
commit
a4a09fec82
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class AnsibleModule(object):
|
||||||
items = shlex.split(args)
|
items = shlex.split(args)
|
||||||
params = {}
|
params = {}
|
||||||
for x in items:
|
for x in items:
|
||||||
(k, v) = x.split("=")
|
(k, v) = x.split("=",1)
|
||||||
params[k] = v
|
params[k] = v
|
||||||
return (params, args)
|
return (params, args)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue