From 67d6e8177e969a03d17b0212235eb0527923c5e5 Mon Sep 17 00:00:00 2001 From: Ryan Brown Date: Tue, 19 Jun 2018 14:32:56 -0400 Subject: [PATCH] [aws] remove unused variable in iam_user module (#41695) --- lib/ansible/modules/cloud/amazon/iam_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/iam_user.py b/lib/ansible/modules/cloud/amazon/iam_user.py index 8091c142547..790672b510c 100644 --- a/lib/ansible/modules/cloud/amazon/iam_user.py +++ b/lib/ansible/modules/cloud/amazon/iam_user.py @@ -166,7 +166,7 @@ def create_or_update_user(connection, module): module.exit_json(changed=True) try: - user = connection.create_user(**params) + connection.create_user(**params) changed = True except ClientError as e: module.fail_json(msg="Unable to create user: {0}".format(to_native(e)), exception=traceback.format_exc(),