Andy Bavier | c233512 | 2016-06-25 09:59:22 -0400 | [diff] [blame] | 1 | --- |
| 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 Bavier | c2977cf | 2016-06-25 11:16:23 -0400 | [diff] [blame] | 13 | with_items: "{{ cord_apps }}" |