ansible/ansible — pull request #1222 by alopropoz (2012-10-03 20:23:03+00:00)
Title: Indicate errors with exit code.

I'm not sure why command module does not set 'failed' to True if command's return code != 0. But changing this breaks tests, so may be this is "by design".