--
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/bec642ac-3a5d-4a65-8245-797ad2ea5043%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Modules must return JSON data not just a single string.
On Friday, April 3, 2015, Sluge1 Slug2 <slu...@gmail.com> wrote:
--Hello, ansible users,I have created a simple module for ansible:#!/bin/shhostnameexit 0but this module failed to execute:# ansible 192.168.1.10 -m test.sh -M /ans_mod
192.168.1.10 | FAILED >> {
"failed": true,
"msg": "mngclient.prj.comp.com\r\n",
"parsed": false
}How to make ansible to execute this module successfully?
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/bec642ac-3a5d-4a65-8245-797ad2ea5043%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.