diff --git a/roles/calculateEtcHosts/files/makehosts.py b/roles/calculateEtcHosts/files/makehosts.py
index 724d0530b1d806a05a9f2e200223eed549c09daa..5f9cd42fe29b90a9b151db3ee4562f21439b3163 100755
--- a/roles/calculateEtcHosts/files/makehosts.py
+++ b/roles/calculateEtcHosts/files/makehosts.py
@@ -32,6 +32,13 @@ for h in hosts.keys():
 		    string=string+" %s"%(name)
 		print string
 
+for h in hosts.keys():
+    if d['hostvars'].has_key(h):
+        string="%s"%(d['hostvars'][h]['ansible_default_ipv4']['address'])
+        for name in hosts[h]:
+            string=string+" %s"%(name)
+        print string
+
 for h in hosts.keys():
     if d['hostvars'].has_key(h):
         if d['hostvars'][h].has_key('ansible_tun0'):