fixes for how onos/xos are installed on sub vm's
diff --git a/roles/onos-vm-install/files/onos-setup-playbook.yml b/roles/onos-vm-install/files/onos-setup-playbook.yml
index 88839d0..5a28625 100644
--- a/roles/onos-vm-install/files/onos-setup-playbook.yml
+++ b/roles/onos-vm-install/files/onos-setup-playbook.yml
@@ -48,6 +48,11 @@
pip:
name=docker-compose
+ - name: Create CORD directory
+ file:
+ path={{ ansible_user_dir }}/cord
+ state=directory
+
- name: Copy over SSH keys
copy:
src=~/.ssh/{{ item }}
@@ -57,11 +62,6 @@
- id_rsa
- id_rsa.pub
- - name: Create CORD directory
- file:
- path={{ ansible_user_dir }}/cord
- state=directory
-
- name: Copy over docker-compose.yml files
copy:
src=~/docker-compose.yml
diff --git a/roles/xos-vm-install/files/xos-setup-cord-pod-playbook.yml b/roles/xos-vm-install/files/xos-setup-cord-pod-playbook.yml
index e882e29..a55ad9f 100644
--- a/roles/xos-vm-install/files/xos-setup-cord-pod-playbook.yml
+++ b/roles/xos-vm-install/files/xos-setup-cord-pod-playbook.yml
@@ -25,6 +25,7 @@
repo={{ xos_repo_url }}
dest={{ xos_repo_dest }}
version={{ xos_repo_branch }}
+ force=yes
- name: Make XOS prerequisites
command: make -f {{ xos_repo_dest }}/xos/configurations/common/Makefile.prereqs