Adding xos container sanity tests
- validates xos core and synchronizer processes are started successfully

Change-Id: Id3a678c3ee60bd222b1cf8787f9501e826fb287e
Relates-to: CORD-1035
diff --git a/roles/xos-container-test-openstack/tasks/main.yml b/roles/xos-container-test-openstack/tasks/main.yml
new file mode 100644
index 0000000..6915273
--- /dev/null
+++ b/roles/xos-container-test-openstack/tasks/main.yml
@@ -0,0 +1,24 @@
+#xos-openstack-sync tests
+
+- name: Check XOS Openstack Synchronizer Process
+  shell: ps -f | grep "python openstack-synchronizer.py -C /opt/xos/synchronizers/openstack/openstack_synchronizer_config"
+  register: result
+  until: result | success
+  retries: 10
+  delay: 5
+  tags:
+    - skip_ansible_lint # running a sub job
+
+- name: Get Volume Mounts on XOS Openstack Synchronizer Container
+  shell: mount -l | grep xos_services
+  register: volumes
+  tags:
+    - skip_ansible_lint # running a sub job
+
+- name: Validate Volume Mounts on XOS Openstack Synchronizer Container
+  assert:
+    that: "'/opt/xos_services/{{ item.name }}' in volumes.stdout|lower"
+  with_items: "{{ xos_services }}"
+  when:
+    - "'{{ item.name }}' != 'vnodlocal'"
+    - "'{{ item.name }}' != 'volt'"
\ No newline at end of file