From c5fab793e7591424b94c4d86febe5f3a0bc438bc Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Fri, 16 Jun 2023 15:42:21 +0200 Subject: [PATCH] sort imports --- plugins/modules/iam_instance_profile.py | 7 ++----- plugins/modules/iam_instance_profile_info.py | 3 +-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/plugins/modules/iam_instance_profile.py b/plugins/modules/iam_instance_profile.py index 181f4ea746..b34b6b1305 100644 --- a/plugins/modules/iam_instance_profile.py +++ b/plugins/modules/iam_instance_profile.py @@ -107,20 +107,17 @@ from copy import deepcopy -from ansible_collections.amazon.aws.plugins.module_utils.retries import AWSRetry - +from ansible_collections.amazon.aws.plugins.module_utils.iam import add_role_to_iam_instance_profile from ansible_collections.amazon.aws.plugins.module_utils.iam import AnsibleIAMError from ansible_collections.amazon.aws.plugins.module_utils.iam import create_iam_instance_profile from ansible_collections.amazon.aws.plugins.module_utils.iam import delete_iam_instance_profile from ansible_collections.amazon.aws.plugins.module_utils.iam import list_iam_instance_profiles from ansible_collections.amazon.aws.plugins.module_utils.iam import normalize_iam_instance_profile from ansible_collections.amazon.aws.plugins.module_utils.iam import remove_role_from_iam_instance_profile -from ansible_collections.amazon.aws.plugins.module_utils.iam import add_role_to_iam_instance_profile from ansible_collections.amazon.aws.plugins.module_utils.iam import tag_iam_instance_profile from ansible_collections.amazon.aws.plugins.module_utils.iam import untag_iam_instance_profile from ansible_collections.amazon.aws.plugins.module_utils.modules import AnsibleAWSModule -from ansible_collections.amazon.aws.plugins.module_utils.modules import AnsibleAWSModule -from ansible_collections.amazon.aws.plugins.module_utils.modules import AnsibleAWSModule +from ansible_collections.amazon.aws.plugins.module_utils.retries import AWSRetry from ansible_collections.amazon.aws.plugins.module_utils.tagging import compare_aws_tags diff --git a/plugins/modules/iam_instance_profile_info.py b/plugins/modules/iam_instance_profile_info.py index faddab030f..6b7f5ed246 100644 --- a/plugins/modules/iam_instance_profile_info.py +++ b/plugins/modules/iam_instance_profile_info.py @@ -88,12 +88,11 @@ sample: [] """ -from ansible_collections.amazon.aws.plugins.module_utils.retries import AWSRetry - from ansible_collections.amazon.aws.plugins.module_utils.iam import AnsibleIAMError from ansible_collections.amazon.aws.plugins.module_utils.iam import list_iam_instance_profiles from ansible_collections.amazon.aws.plugins.module_utils.iam import normalize_iam_instance_profile from ansible_collections.amazon.aws.plugins.module_utils.modules import AnsibleAWSModule +from ansible_collections.amazon.aws.plugins.module_utils.retries import AWSRetry def describe_iam_instance_profiles(module, client):