blob: 3a1bc2c9f1856e4736ae9a1f72f49f0ca5c2a95a [file] [log] [blame]
Andy Bavierc2335122016-06-25 09:59:22 -04001---
2# onos-load-apps/tasks/main.yml
3#
4# Install CORD ONOS apps from local containers
5
6- name: Disable loading from Maven repo
7 command: ansible xos-1 -u ubuntu -m lineinfile \
Scott Baker333a3152016-06-29 08:58:42 -07008 -a "dest=~/service-profile/{{ xos_configuration }}/make-vtn-external-yaml.sh state=absent regexp='install_dependencies'"
Andy Bavierc2335122016-06-25 09:59:22 -04009
10- name: Load the apps using Docker
11 command: ansible xos-1 -u ubuntu -m shell \
12 -a "cd ~/xos/containers/cord-apps; make {{ item }}; docker run xosproject/cord-app-{{ item }}"
Andy Bavierc2977cf2016-06-25 11:16:23 -040013 with_items: "{{ cord_apps }}"
Zack Williams4b7682b2016-06-29 18:52:08 -070014
15- name: Enable debugging for cord apps
16 shell: "sshpass -p 'karaf' ssh -p 8101 karaf@onos-cord-1 log:set DEBUG org.opencord.{{ item }}"
17 with_items: "{{ cord_apps }}"
18