ansible/ansible — pull request #1356 by lllama (2012-10-17 11:56:29+00:00)
Title: Added "executable" option to "shell" and "command" modules

To be used to change the shell used to run the command on the remote host. Gets passed to the executable parameter of the Popen call.

It would probably be best to restrict this to the "shell" module, rather than both "shell" and "command", though I couldn't see how best to do this.