VOL-642: Installation of VOLT-HA in a Kubernetes cluster
- Changed existing installer to support swarm and kubernetes
- Using kubespray as the base framework to deploy kubernetes
- Implemented config/deploy/teardown tasks for voltha
Amendments:
- Changed from python to python3 when running the inventory builder
Change-Id: I059fd348b9a749397b373e333b5602944c817745
diff --git a/install/ansible/roles/cluster-host/tasks/main.yml b/install/ansible/roles/cluster-host/tasks/main.yml
index 7358e6e..5d0b39e 100644
--- a/install/ansible/roles/cluster-host/tasks/main.yml
+++ b/install/ansible/roles/cluster-host/tasks/main.yml
@@ -37,7 +37,7 @@
#- name: Required configuration directories are copied
# copy:
-# src: "/home/vinstall/{{ item }}"
+# src: "{{ install_source }}/{{ item }}"
# dest: "{{ target_voltha_home }}"
# owner: voltha
# group: voltha
@@ -50,7 +50,7 @@
- name: Required configuration directories are copied
synchronize:
- src: "/home/vinstall/{{ item }}"
+ src: "{{ install_source }}/{{ item }}"
dest: "{{ target_voltha_home }}"
archive: no
owner: no
@@ -65,7 +65,7 @@
- name: Required configuration scripts are copied
synchronize:
- src: "/home/vinstall/{{ item }}"
+ src: "{{ install_source }}/{{ item }}"
dest: "{{ target_voltha_home }}"
archive: no
owner: no
@@ -104,7 +104,7 @@
#- name: upstart barrier filesystem loop mount script is installed
# copy:
-# src: "/home/vinstall/losetup.conf"
+# src: "{{ install_source }}/losetup.conf"
# dest: /etc/init
# owner: root
# group: root