ansible/ansible — pull request #763 by willthames (2012-08-02 06:52:03+00:00)
Title: Raise exception when sudo user does not exist

sudo can fail before getting to the password prompt if a user does not exist

[will@tangerine ansible (sudo_missing_user)]$ sudo -u bobbins echo hello
sudo: unknown user: bobbins
sudo: unable to initialize policy plugin

Fix raises a distinct exception when that occurs