1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

multiple modules: removed unused imports (#5258) (#5268)

(cherry picked from commit 0a85bb7d23)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2022-09-10 12:18:27 +02:00 committed by GitHub
parent 269df75421
commit 0342cf1730
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 0 additions and 35 deletions

View file

@ -100,7 +100,6 @@ EXAMPLES = r'''
RETURN = r'''#'''
import time
import traceback
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.common.text.converters import to_native

View file

@ -243,7 +243,6 @@ roles:
'''
import os
import sys
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.urls import open_url

View file

@ -73,8 +73,6 @@ EXAMPLES = '''
RETURN = '''
'''
import os
import sys
import traceback
try:

View file

@ -171,8 +171,6 @@ instance:
}
'''
import re
HAS_XENAPI = False
try:
import XenAPI

View file

@ -266,10 +266,6 @@ result:
'''
import os
import json
from ansible.module_utils.basic import AnsibleModule, missing_required_lib
from ansible.module_utils.common.text.converters import to_native

View file

@ -136,7 +136,6 @@ data:
'''
import json
import os
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.urls import fetch_url, url_argument_spec

View file

@ -229,7 +229,6 @@ dnsimple_record_info:
import traceback
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.basic import missing_required_lib
import json
try:
from requests import Request, Session

View file

@ -158,7 +158,6 @@ record:
'''
from ansible.module_utils.basic import AnsibleModule
import os
class ResourceRecord(object):

View file

@ -156,7 +156,6 @@ out:
'''
import os
import re
import json
from ansible.module_utils.basic import AnsibleModule

View file

@ -71,10 +71,7 @@ EXAMPLES = '''
update_cache: true
'''
import json
import os
import shlex
import sys
from ansible.module_utils.basic import AnsibleModule

View file

@ -58,9 +58,7 @@ EXAMPLES = '''
state: absent
'''
import os
import re
import sys
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.six.moves import shlex_quote

View file

@ -81,10 +81,6 @@ EXAMPLES = '''
'''
import os
import shlex
import sys
from ansible.module_utils.basic import AnsibleModule

View file

@ -145,7 +145,6 @@ system:
type: dict
'''
import copy
import datetime
import ssl

View file

@ -160,7 +160,6 @@ config_values:
alias.diffc: "diff --cached"
alias.remotev: "remote -v"
'''
import os
from ansible.module_utils.basic import AnsibleModule

View file

@ -125,7 +125,6 @@ repo:
import traceback
from ansible.module_utils.basic import AnsibleModule, missing_required_lib
import sys
GITHUB_IMP_ERR = None
try:

View file

@ -128,7 +128,6 @@ EXAMPLES = r'''
import os
import re
import subprocess
from ansible.module_utils.basic import AnsibleModule

View file

@ -137,7 +137,6 @@ force:
'''
import os
import re
from ansible.module_utils.basic import AnsibleModule

View file

@ -176,8 +176,6 @@ cmd:
import os
import tempfile
import random
import string
import re

View file

@ -73,7 +73,6 @@ EXAMPLES = r"""
RETURN = r""" # """
import os
import shutil
import time
from ansible.module_utils.basic import AnsibleModule

View file

@ -296,7 +296,6 @@ from ansible.module_utils.six.moves.urllib.parse import urlencode
from ansible.module_utils.urls import fetch_url, url_argument_spec
from ansible.module_utils.six import text_type, binary_type
from ansible.module_utils.common.text.converters import to_native
import base64
import hashlib
import io
import json

View file

@ -127,9 +127,6 @@ executions:
]
'''
# Modules import
import json
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.six.moves.urllib.parse import quote
from ansible_collections.community.general.plugins.module_utils.rundeck import (