ansible/ansible — pull request #237 by jkleint (2012-04-25 16:43:05+00:00)
Title: Unify normal and sudo remote exeuction.

Commit SHA: 87b1cf45 that put temp files in `$HOME/.ansible` instead of `/home//.ansible` was producing a directory literally called `$HOME` (no expansion) with non-sudo remote execution. I'll take the blame for this one, as `ParamikoConnection.exec_command()` was not using the shell for non-sudo commands. This does sudo and non-sudo execution the same way, using the shell, so environment variables should get expanded.