blob: ae2d5fb15b112f04507890b3f46511cc2f0953cd [file] [log] [blame]
---
- name: setup authorized key for user ubuntu since service chaining uses it
authorized_key:
user: ubuntu
key: "{{ lookup('file', 'passivetest_rsa.pub') }}"
state: present
- name: copy viv client
copy: src=viv dest=/usr/bin mode=0755
- name: reset viv (if needed)
shell: viv -i 172.27.0.1 reset
when: reset_viv
- name: configure input
shell: viv -i 172.27.0.1 add input {{ tap_ports }} TSA_CP
ignore_errors: True
- name: register probe with viv
shell: viv -i 172.27.0.1 add output {{ synchronizer_ip }} 50002 TSA_CP
ignore_errors: True