ansible/ansible — pull request #1556 by sfromm (2012-11-08 01:09:53+00:00)
Title: Wrap getpwnam in try/except in authorized_key module

This also adds module as an argument to keyfile().

See issue #1099. This will catch the case where the user can't be found. It doesn't fix the case where getpwnam() does not return the user that does exist in ldap.