blob: ae2d5fb15b112f04507890b3f46511cc2f0953cd [file] [log] [blame]
Gabe Black90623222017-01-18 19:52:28 +00001---
2- name: setup authorized key for user ubuntu since service chaining uses it
3 authorized_key:
4 user: ubuntu
5 key: "{{ lookup('file', 'passivetest_rsa.pub') }}"
6 state: present
7
8- name: copy viv client
9 copy: src=viv dest=/usr/bin mode=0755
10
11- name: reset viv (if needed)
12 shell: viv -i 172.27.0.1 reset
13 when: reset_viv
14
15- name: configure input
16 shell: viv -i 172.27.0.1 add input {{ tap_ports }} TSA_CP
17 ignore_errors: True
18
19- name: register probe with viv
20 shell: viv -i 172.27.0.1 add output {{ synchronizer_ip }} 50002 TSA_CP
21 ignore_errors: True
22