blob: 971544cfa165212e716f6b29d9293d9b1bef862c [file] [log] [blame]
Zack Williams97bbf0b2017-08-01 22:50:08 -07001---
2# onos-debug/tasks/main.yml
3
4- name: Wait for apps to load via profle, and onos-cord container to be accessible via SSH
5 wait_for:
6 host: localhost
7 port: "{{ onos_cord_port }}"
8 search_regex: "SSHD-CORE"
9 delay: 30
10 timeout: 180
11
12- name: Enable ONOS debugging for specific apps
13 shell: "sshpass -p 'karaf' ssh -p {{ onos_cord_port }} karaf@localhost log:set {{ onos_debug_level }} {{ item }}"
14 ignore_errors: yes
15 with_items: "{{ onos_debug_appnames }}"
16 tags:
17 - skip_ansible_lint # collecting docker container names
18