Reorganizing file structure. Not done.

This commit is contained in:
Michael DeHaan 2012-05-25 19:34:13 -04:00
parent ba24210564
commit 0f6a18f2e2
10 changed files with 18 additions and 19 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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)