fix remote execution NameError in module 'user'

reviewable/pr18780/r1
Javier Candeira 12 years ago
parent 4f0f946211
commit 81cf3aa02c

@ -861,7 +861,7 @@ def main():
if user.user_exists():
(rc, out, err) = user.remove_user()
if rc != 0:
module.fail_json(name=name, msg=err, rc=rc)
module.fail_json(name=user.name, msg=err, rc=rc)
result['force'] = user.force
result['remove'] = user.remove
elif user.state == 'present':

Loading…
Cancel
Save