1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #644 from bradobro/common_fix

AnsibleModule now correctly reads param values with '"'.
This commit is contained in:
Michael DeHaan 2012-07-20 14:31:24 -07:00
commit 85b9fa580c

View file

@ -112,7 +112,7 @@ class AnsibleModule(object):
items = shlex.split(args)
params = {}
for x in items:
(k, v) = x.split("=")
(k, v) = x.split("=",1)
params[k] = v
return (params, args)