summaryrefslogtreecommitdiffstats
path: root/bin/ossh
diff options
context:
space:
mode:
authorThomas Wiest <twiest@redhat.com>2015-03-13 17:01:03 -0400
committerThomas Wiest <twiest@redhat.com>2015-03-13 17:01:03 -0400
commit4754af459d0b23fc54a9cc5bb2c3062aac02f299 (patch)
tree7461120d70363fb83b2ffbf1df0db4587ce540a3 /bin/ossh
parentbaa950f64d4f1d76847f11cc6e136bff262c4de3 (diff)
downloadopenshift-4754af459d0b23fc54a9cc5bb2c3062aac02f299.tar.gz
openshift-4754af459d0b23fc54a9cc5bb2c3062aac02f299.tar.bz2
openshift-4754af459d0b23fc54a9cc5bb2c3062aac02f299.tar.xz
openshift-4754af459d0b23fc54a9cc5bb2c3062aac02f299.zip
renamed AnsibleUtil to AwsUtil because that's what it really is.
Diffstat (limited to 'bin/ossh')
-rwxr-xr-xbin/ossh8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/ossh b/bin/ossh
index d409e120a..66a4cfb5c 100755
--- a/bin/ossh
+++ b/bin/ossh
@@ -2,7 +2,7 @@
# vim: expandtab:tabstop=4:shiftwidth=4
import argparse
-import ansibleutil
+import awsutil
import traceback
import sys
import os
@@ -13,7 +13,7 @@ class Ossh(object):
self.file_path = os.path.join(os.path.dirname(os.path.realpath(__file__)))
self.parse_cli_args()
- self.ansible = ansibleutil.AnsibleUtil()
+ self.aws = awsutil.AwsUtil()
# get a dict of host inventory
if self.args.list:
@@ -94,9 +94,9 @@ class Ossh(object):
dict['servername'] = dns_name
'''
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