use sudo when running docker-compose
Change-Id: Ie0112219b3c372b7b66723e743baa07f1757dddf
diff --git a/cord-pod-ansible/roles/bootstrap/tasks/main.yml b/cord-pod-ansible/roles/bootstrap/tasks/main.yml
index b1a2e03..164155e 100644
--- a/cord-pod-ansible/roles/bootstrap/tasks/main.yml
+++ b/cord-pod-ansible/roles/bootstrap/tasks/main.yml
@@ -20,9 +20,11 @@
- name: add fixtures
shell: docker-compose -p {{ bootstrap_project }} -f {{ bootstrap_yml }} run xos_bootstrap_ui python /opt/xos/tosca/run.py none - < {{ fixtures_yml }}
+ sudo: true
- name: add mydeployment
shell: docker-compose -p {{ bootstrap_project }} -f {{ bootstrap_yml }} run xos_bootstrap_ui python /opt/xos/tosca/run.py none - < {{ mydeployment_yml }}
+ sudo: true
- name: run tosca recipe xos.yaml
xostosca: