prerequisite check role
fixed formatting, added dns check before creating VM's

Change-Id: Ibb6c8898ca635a4cc6446b8b3aef584fe458c224
diff --git a/roles/dns-configure/tasks/main.yml b/roles/dns-configure/tasks/main.yml
index 7aff9f4..1481bbe 100644
--- a/roles/dns-configure/tasks/main.yml
+++ b/roles/dns-configure/tasks/main.yml
@@ -7,3 +7,7 @@
     dest="/etc/resolv.conf"
     mode=0644 owner=root group=root
 
+- name: Check that VM's can be found in DNS
+  shell: "dig +short {{ item.name }}.{{ site_suffix }} | grep {{ item.ipv4_last_octet }}"
+  with_items: "{{ head_vm_list }}"
+