VOL-234. This update fixes issues seen with unresolved symbolic links
in the voltha tree when building and using the installer. There are
also updates to the documentation based on feedback receive from
multiple parties.
Change-Id: I21c7920cd52c42c7d5f4b48e064eafd04dd52203
diff --git a/install/ansible/roles/cluster-host/tasks/cluster-host.yml b/install/ansible/roles/cluster-host/tasks/cluster-host.yml
index b9b2146..d1648f5 100644
--- a/install/ansible/roles/cluster-host/tasks/cluster-host.yml
+++ b/install/ansible/roles/cluster-host/tasks/cluster-host.yml
@@ -35,18 +35,33 @@
mode: 0600
tags: [cluster_host]
+#- name: Required configuration directories are copied
+# copy:
+# src: "/home/vinstall/{{ item }}"
+# dest: "{{ target_voltha_home }}"
+# owner: voltha
+# group: voltha
+# with_items:
+# - docker-py
+# - netifaces
+# - deb_files
+# when: target == "cluster"
+# tags: [cluster_host]
+
- name: Required configuration directories are copied
- copy:
+ synchronize:
src: "/home/vinstall/{{ item }}"
dest: "{{ target_voltha_home }}"
- owner: voltha
- group: voltha
+ archive: no
+ owner: no
+ perms: no
+ recursive: yes
+ links: yes
with_items:
- docker-py
- netifaces
- deb_files
- when: target == "cluster"
- tags: [cluster_host]
+ tags: [cluster-host]
- name: apt lists are up-to-date
copy: