use async to run large downloads while doing other steps
diff --git a/roles/onos-vm-install/files/onos-setup-playbook.yml b/roles/onos-vm-install/files/onos-setup-playbook.yml
index ba88406..b18924b 100644
--- a/roles/onos-vm-install/files/onos-setup-playbook.yml
+++ b/roles/onos-vm-install/files/onos-setup-playbook.yml
@@ -62,10 +62,6 @@
- id_rsa
- id_rsa.pub
- - name: Copy SSL Certs so docker-compose can find it
- command: cp /usr/local/share/ca-certificates/keystone_juju_ca_cert.crt {{ ansible_user_dir }}/cord/xos-certs.crt
- creates="{{ ansible_user_dir }}/cord/xos-certs.crt"
-
- name: Copy over files to build XOS variant of ONOS
copy:
src="~/{{ item }}"
@@ -79,3 +75,6 @@
src=~/onos-docker-compose.yml
dest={{ ansible_user_dir }}/cord/docker-compose.yml
+ - name: Pull docker image for ONOS
+ command: docker pull onosproject/onos
+