Commit 85b9fa58 by Michael DeHaan

Merge pull request #644 from bradobro/common_fix

AnsibleModule now correctly reads param values with '"'.
parents 290e1af3 a4a09fec
...@@ -112,7 +112,7 @@ class AnsibleModule(object): ...@@ -112,7 +112,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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment