From 52acec34551181c408986a9ced6bc8755013e8c9 Mon Sep 17 00:00:00 2001 From: "Ryan S. Brown" Date: Tue, 19 Jun 2018 10:27:37 -0400 Subject: [PATCH] [aws] Remove double-defined variable from iam_policy module --- lib/ansible/modules/cloud/amazon/iam_policy.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/iam_policy.py b/lib/ansible/modules/cloud/amazon/iam_policy.py index 7b31d400f5..1b53790559 100644 --- a/lib/ansible/modules/cloud/amazon/iam_policy.py +++ b/lib/ansible/modules/cloud/amazon/iam_policy.py @@ -286,7 +286,6 @@ def main(): if not HAS_BOTO: module.fail_json(msg='boto required for this module') - state = module.params.get('state').lower() iam_type = module.params.get('iam_type').lower() state = module.params.get('state') name = module.params.get('iam_name')