--
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 ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e0fbc79e-e805-43e6-859b-f1bdfd161817%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
"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, <mto...@go2uti.com> wrote:
--
Prior to release 1.8, a module named 'mytest' that contained the following worked perfectly:#!/bin/kshThe command 'ansible server -m mytest -M my_library' would return:
echo 'changed=True msg=OK'
exit 0server | 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 ansible-project+unsubscribe@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/e0fbc79e-e805-43e6-859b-f1bdfd161817%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.