ansible/ansible — pull request #2061 by candeira (2013-02-12 17:04:19+00:00)
Title: fix remote execution NameError in module 'user'

Remote execution of module "user" produced this traceback:

Traceback (most recent call last):
File "/root/.ansible/tmp/ansible-1360686502.37-80297117549296/user", line 1665, in
main()
File "/root/.ansible/tmp/ansible-1360686502.37-80297117549296/user", line 864, in main
module.fail_json(name=name, msg=err, rc=rc)
NameError: global name 'name' is not defined

Patch fixes it, and 'make tests' passes all tests but one (which is skipped).