From 4754af459d0b23fc54a9cc5bb2c3062aac02f299 Mon Sep 17 00:00:00 2001 From: Thomas Wiest Date: Fri, 13 Mar 2015 17:01:03 -0400 Subject: renamed AnsibleUtil to AwsUtil because that's what it really is. --- bin/oscp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/oscp') diff --git a/bin/oscp b/bin/oscp index 1cc336a6a..146bbbea5 100755 --- a/bin/oscp +++ b/bin/oscp @@ -2,7 +2,7 @@ # vim: expandtab:tabstop=4:shiftwidth=4 import argparse -import ansibleutil +import awsutil import traceback import sys import os @@ -16,7 +16,7 @@ class Oscp(object): # parse host and user self.process_host() - self.ansible = ansibleutil.AnsibleUtil() + self.aws = awsutil.AwsUtil() # get a dict of host inventory if self.args.list: @@ -104,9 +104,9 @@ class Oscp(object): dict['environment'] = [{'servername' : {}}, ] ''' if cache_only: - self.host_inventory = self.ansible.build_host_dict_by_env(['--cache-only']) + self.host_inventory = self.aws.build_host_dict_by_env(['--cache-only']) else: - self.host_inventory = self.ansible.build_host_dict_by_env() + self.host_inventory = self.aws.build_host_dict_by_env() def select_host(self): '''select host attempts to match the host specified -- cgit v1.2.3