de-become for copies
diff --git a/roles/docker-compose/tasks/main.yml b/roles/docker-compose/tasks/main.yml
index f89fa7e..614d313 100644
--- a/roles/docker-compose/tasks/main.yml
+++ b/roles/docker-compose/tasks/main.yml
@@ -9,15 +9,15 @@
retries: 120
- name: Copy SSL Certs to ONOS so docker-compose can find it
- command: ansible onos-cord-1 -b -u ubuntu -m copy \
- -a "src=/usr/local/share/ca-certificates/keystone_juju_ca_cert.crt dest=~/cord/xos-certs.crt"
+ command: ansible onos-cord-1 -u ubuntu -m copy \
+ -a "src=/usr/local/share/ca-certificates/keystone_juju_ca_cert.crt dest=~/onos/xos-certs.crt"
- name: Build ONOS image with docker-compose
- command: ansible onos-cord-1 -b -u ubuntu -m command \
+ command: ansible onos-cord-1 -u ubuntu -m command \
-a "docker-compose build chdir=cord"
- name: Start ONOS
- command: ansible onos-cord-1 -b -u ubuntu -m command \
+ command: ansible onos-cord-1 -u ubuntu -m command \
-a "docker-compose up -d chdir=cord"
- name: Wait for xos_setup_playbook to complete
@@ -28,6 +28,6 @@
retries: 120
- name: Copy admin-openrc.sh into XOS container
- command: ansible xos-1 -b -u ubuntu -m copy \
+ command: ansible xos-1 -u ubuntu -m copy \
-a "src=~/admin-openrc.sh dest=~/xos/xos/configurations/{{ xos_configuration }}"