blob: 4a6cec6ee93fc2f57574a40fb7e81fd7deda6d0b [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 \
8 -a "dest=~/xos/xos/configurations/{{ xos_configuration }}/make-vtn-external-yaml.sh state=absent regexp='install_dependencies'"
9
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 }}"