mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Reorganizing file structure. Not done.
This commit is contained in:
parent
6f114a2e2c
commit
cf9ddf3a30
10 changed files with 18 additions and 19 deletions
|
@ -20,13 +20,13 @@
|
|||
import fnmatch
|
||||
import os
|
||||
|
||||
import constants as C
|
||||
import subprocess
|
||||
from ansible.inventory_parser import InventoryParser
|
||||
from ansible.inventory_parser_yaml import InventoryParserYaml
|
||||
from ansible.inventory_script import InventoryScript
|
||||
from ansible.group import Group
|
||||
from ansible.host import Host
|
||||
import ansible.constants as C
|
||||
from ansible.inventory.ini import InventoryParser
|
||||
from ansible.inventory.yaml import InventoryParserYaml
|
||||
from ansible.inventory.script import InventoryScript
|
||||
from ansible.inventory.group import Group
|
||||
from ansible.inventory.host import Host
|
||||
from ansible import errors
|
||||
from ansible import utils
|
||||
|
|
@ -21,9 +21,9 @@ import fnmatch
|
|||
import os
|
||||
import subprocess
|
||||
|
||||
import constants as C
|
||||
from ansible.host import Host
|
||||
from ansible.group import Group
|
||||
import ansible.constants as C
|
||||
from ansible.inventory.host import Host
|
||||
from ansible.inventory.group import Group
|
||||
from ansible import errors
|
||||
from ansible import utils
|
||||
|
|
@ -19,10 +19,9 @@
|
|||
|
||||
import os
|
||||
import subprocess
|
||||
import constants as C
|
||||
import os
|
||||
from ansible.host import Host
|
||||
from ansible.group import Group
|
||||
import ansible.constants as C
|
||||
from ansible.inventory.host import Host
|
||||
from ansible.inventory.group import Group
|
||||
from ansible import errors
|
||||
from ansible import utils
|
||||
|
|
@ -17,9 +17,9 @@
|
|||
|
||||
#############################################
|
||||
|
||||
import constants as C
|
||||
from ansible.host import Host
|
||||
from ansible.group import Group
|
||||
import ansible.constants as C
|
||||
from ansible.inventory.host import Host
|
||||
from ansible.inventory.group import Group
|
||||
from ansible import errors
|
||||
from ansible import utils
|
||||
|
|
@ -32,11 +32,11 @@ import getpass
|
|||
import codecs
|
||||
|
||||
import ansible.constants as C
|
||||
import ansible.connection
|
||||
import connection
|
||||
import ansible.inventory
|
||||
from ansible import utils
|
||||
from ansible import errors
|
||||
from ansible import poller
|
||||
from ansible.runner import poller
|
||||
from ansible import callbacks as ans_callbacks
|
||||
|
||||
HAS_ATFORK=True
|
||||
|
@ -153,7 +153,7 @@ class Runner(object):
|
|||
|
||||
self.sudo_user = sudo_user
|
||||
self.transport = transport
|
||||
self.connector = ansible.connection.Connection(self, self.transport, self.sudo_user)
|
||||
self.connector = connection.Connection(self, self.transport, self.sudo_user)
|
||||
|
||||
if inventory is None:
|
||||
self.inventory = ansible.inventory.Inventory(host_list)
|
Loading…
Reference in a new issue