xos container sanity tests across all profiles

Change-Id: I576b29ee4f0ea72cc76f1dfb8969bf1d5b21dc81
diff --git a/roles/xos-container-test-postgres/tasks/main.yml b/roles/xos-container-test-postgres/tasks/main.yml
new file mode 100644
index 0000000..6c81a8f
--- /dev/null
+++ b/roles/xos-container-test-postgres/tasks/main.yml
@@ -0,0 +1,32 @@
+# Copyright 2017-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#xos-postgres tests
+
+- name: Check PSQL Service Status
+  service:
+    name: postgresql
+    state: started
+  tags:
+    - skip_ansible_lint # running a sub job
+
+- name: Check PSQL Service Version/Port
+  shell: service postgresql status | grep "{{ item }}"
+  register: result
+  with_items:
+    - 9.6/main
+    - port 5432
+    - online
+  tags:
+    - skip_ansible_lint # running a sub job