fix vsg and exampleservice tests Get compute node

This commit lookup the compute node according to the VM id.
This make sure that incase of multi compute we will get the
correct compute node name.

Change-Id: If53b421a537874f66079deb8239e434eb04aef42
diff --git a/roles/test-exampleservice/tasks/main.yml b/roles/test-exampleservice/tasks/main.yml
index fd69893..79ddf4d 100644
--- a/roles/test-exampleservice/tasks/main.yml
+++ b/roles/test-exampleservice/tasks/main.yml
@@ -37,7 +37,7 @@
     - skip_ansible_lint # running a sub job
 
 - name: Get name of compute node
-  shell: bash -c "source /opt/cord_profile/admin-openrc.sh; nova service-list|grep nova-compute|cut -d '|' -f 3"
+  shell: bash -c "source /opt/cord_profile/admin-openrc.sh; nova show {{ nova_id.stdout }}|grep hypervisor_hostname|cut -d '|' -f 3"
   register: node_name
   tags:
     - skip_ansible_lint # running a sub job