1
0
Fork 0
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:
Michael DeHaan 2012-05-25 19:34:13 -04:00
parent 6f114a2e2c
commit cf9ddf3a30
10 changed files with 18 additions and 19 deletions

View file

@ -20,13 +20,13 @@
import fnmatch import fnmatch
import os import os
import constants as C
import subprocess import subprocess
from ansible.inventory_parser import InventoryParser import ansible.constants as C
from ansible.inventory_parser_yaml import InventoryParserYaml from ansible.inventory.ini import InventoryParser
from ansible.inventory_script import InventoryScript from ansible.inventory.yaml import InventoryParserYaml
from ansible.group import Group from ansible.inventory.script import InventoryScript
from ansible.host import Host from ansible.inventory.group import Group
from ansible.inventory.host import Host
from ansible import errors from ansible import errors
from ansible import utils from ansible import utils

View file

@ -21,9 +21,9 @@ import fnmatch
import os import os
import subprocess import subprocess
import constants as C import ansible.constants as C
from ansible.host import Host from ansible.inventory.host import Host
from ansible.group import Group from ansible.inventory.group import Group
from ansible import errors from ansible import errors
from ansible import utils from ansible import utils

View file

@ -19,10 +19,9 @@
import os import os
import subprocess import subprocess
import constants as C import ansible.constants as C
import os from ansible.inventory.host import Host
from ansible.host import Host from ansible.inventory.group import Group
from ansible.group import Group
from ansible import errors from ansible import errors
from ansible import utils from ansible import utils

View file

@ -17,9 +17,9 @@
############################################# #############################################
import constants as C import ansible.constants as C
from ansible.host import Host from ansible.inventory.host import Host
from ansible.group import Group from ansible.inventory.group import Group
from ansible import errors from ansible import errors
from ansible import utils from ansible import utils

View file

@ -32,11 +32,11 @@ import getpass
import codecs import codecs
import ansible.constants as C import ansible.constants as C
import ansible.connection import connection
import ansible.inventory import ansible.inventory
from ansible import utils from ansible import utils
from ansible import errors from ansible import errors
from ansible import poller from ansible.runner import poller
from ansible import callbacks as ans_callbacks from ansible import callbacks as ans_callbacks
HAS_ATFORK=True HAS_ATFORK=True
@ -153,7 +153,7 @@ class Runner(object):
self.sudo_user = sudo_user self.sudo_user = sudo_user
self.transport = transport 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: if inventory is None:
self.inventory = ansible.inventory.Inventory(host_list) self.inventory = ansible.inventory.Inventory(host_list)