Module service reports successful start of Monit but it isn't

Dear list,

I must be doing something wrong. I run this command:
$ ./bin/ansible riaknodes -i ansible_hosts -u ops -s -k -m service -a ‘name=monit state=started’
To the best of my knowledge this starts Monit. The output tells me it worked (or at least something changed):

node4.cluster1.***.com | success >> {
“changed”: true
}

SSH’ing into that box showed no Monit process running. The start command also returns an error. I’m using Ubuntu 10.04 and the master branch of ansible.
What can I do to debug this problem?

With kind regards,

Devel branch has had some service flux but we’re working on making it play nicer with Ubuntu.

Ultimately Ubuntu puts the service binary in a different place. This is really why we should never execute module commands with os.Popen to parse the results and
should use subprocess with shell=False. It yields nicer errors.

–Michael