blob: 4a6cec6ee93fc2f57574a40fb7e81fd7deda6d0b [file] [log] [blame]
---
# onos-load-apps/tasks/main.yml
#
# Install CORD ONOS apps from local containers
- name: Disable loading from Maven repo
command: ansible xos-1 -u ubuntu -m lineinfile \
-a "dest=~/xos/xos/configurations/{{ xos_configuration }}/make-vtn-external-yaml.sh state=absent regexp='install_dependencies'"
- name: Load the apps using Docker
command: ansible xos-1 -u ubuntu -m shell \
-a "cd ~/xos/containers/cord-apps; make {{ item }}; docker run xosproject/cord-app-{{ item }}"
with_items: "{{ cord_apps }}"