summaryrefslogtreecommitdiffstats
path: root/bin/ansibleutil.py
diff options
context:
space:
mode:
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