"BabyJSON" as it was called was removed in 1.8.  As such, modules must
return actual JSON in responses and not the key=value responses.

On Thursday, April 16, 2015, <[email protected]> wrote:

>
>  Prior to release 1.8, a module named 'mytest' that contained the
> following worked perfectly:
>
> #!/bin/ksh
>
> echo 'changed=True msg=OK'
> exit 0
>
> The command 'ansible server -m mytest -M my_library' would return:
>
> server | success >> {
>     "changed": true,
>     "msg": "OK"
> }
>
> But as of release 1.8, the same command returns:
>
> server | FAILED >> {
>     "failed": true,
>     "msg": "changed=True msg=OK\r\n",
>     "parsed": false
> }
>
> So, what changed and what must I do to make it all work again?  I have
> looked but can't seem to locate any mention of anything about this in the
> release notes.  It is probably there and I am just not recognizing it.  Can
> somebody please direct me to where I can find information on this?
> Thanks,
> -Mark
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <javascript:_e(%7B%7D,'cvml','ansible-project%[email protected]');>
> .
> To post to this group, send email to [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/e0fbc79e-e805-43e6-859b-f1bdfd161817%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/e0fbc79e-e805-43e6-859b-f1bdfd161817%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Matt Martz
@sivel
sivel.net

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAD8N0v9BKCFf2UvW6LZ4tDMWBvAkQAsZy_1i4iRRQGO3Pm5g_w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to