summaryrefslogtreecommitdiffstats
path: root/bin/ansibleutil.py
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2015-02-04 12:06:41 -0500
committerKenny Woodson <kwoodson@redhat.com>2015-02-04 12:06:41 -0500
commitfe7d30b762357ac4ec1fe2b173320d463267ac82 (patch)
tree71db1d119efce310c1046344f52379eb6b7e751e /bin/ansibleutil.py
parent6481ca629cc2bcf5bd9c7f15be14a77e57086514 (diff)
downloadopenshift-fe7d30b762357ac4ec1fe2b173320d463267ac82.tar.gz
openshift-fe7d30b762357ac4ec1fe2b173320d463267ac82.tar.bz2
openshift-fe7d30b762357ac4ec1fe2b173320d463267ac82.tar.xz
openshift-fe7d30b762357ac4ec1fe2b173320d463267ac82.zip
Renamed ossh.py and added bash completion function
Diffstat (limited to 'bin/ansibleutil.py')
-rw-r--r--bin/ansibleutil.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/bin/ansibleutil.py b/bin/ansibleutil.py
index 26fb25493..ed35ef8f9 100644
--- a/bin/ansibleutil.py
+++ b/bin/ansibleutil.py
@@ -57,10 +57,6 @@ class AnsibleUtil(object):
for dns, host in inv['_meta']['hostvars'].items():
if host['ec2_tag_environment'] not in inst_by_env:
inst_by_env[host['ec2_tag_environment']] = {}
-
- #if inst_by_env[host['ec2_tag_environment']][host['ec2_tag_Name']]:
- #raise Exception('Duplicate ec2_tag_Name found: %s' % host['ec2_tag_Name'])
-
host_id = "%s:%s" % (host['ec2_tag_Name'],host['ec2_id'])
inst_by_env[host['ec2_tag_environment']][host_id] = host