[CORD-1985] add venb playbook for TS config

Change-Id: Ib94fd44da090bb543626e640407e02c88eb135fa
(cherry picked from commit 90e65dcb450122aa63c7670a99bf234767bb06c3)
diff --git a/xos/synchronizer/steps/roles/ts_config/tasks/main.yaml b/xos/synchronizer/steps/roles/ts_config/tasks/main.yaml
new file mode 100644
index 0000000..76e2fdc
--- /dev/null
+++ b/xos/synchronizer/steps/roles/ts_config/tasks/main.yaml
@@ -0,0 +1,43 @@
+# 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.
+
+---
+- name: check flat_network interface
+  shell: ifconfig | grep -B1 "inet addr:{{ ts_ip }}" | awk '$1!="inet" && $1!="--" {print $1}'
+  args:
+    executable: /bin/bash
+  register: iface
+
+- name: disable TAS process
+  command: disable-tas
+
+- name: enable TS process
+  command: enable-ts
+
+- name: test response to test.py
+  expect:
+    command: ipcfg
+    responses:
+      Configure now?: "n"
+      Do you wish to Continue: "yes"
+      Designate management port: "{{ iface.stdout_lines }}"
+      IP Address: "{{ ts_ip }}"
+      Network Mask: "{{ ts_ip_mask }}"
+      Auto Negotiate: "yes"
+      IP Gateway: "{{ ts_gw }}"
+      Host Name: "{{ ts_host_name }}"
+      TAS IP Address: "{{ tas_ip }}"
+      NTP Server IP: "{{ ntp_ip }}"
+      System must be rebooted: "yes"
+    echo: yes
\ No newline at end of file