Make it possible to set helm version to install
Helm and tiller are also installed on the jumphost.
Change-Id: I00658e200f4c0f72ac33035c17a2c96dfdd05c1b
diff --git a/playbooks/roles/configure-installer/tasks/main.yml b/playbooks/roles/configure-installer/tasks/main.yml
index 9a9e746..db7237e 100644
--- a/playbooks/roles/configure-installer/tasks/main.yml
+++ b/playbooks/roles/configure-installer/tasks/main.yml
@@ -70,6 +70,13 @@
regexp: "^kube_version:.*"
line: "kube_version: {{ kubernetes_version }}"
+# set helm version to install
+- name: Set helm version to '{{ helm_version }}'
+ lineinfile:
+ path: "{{ engine_cache }}/repos/kubespray/roles/download/defaults/main.yml"
+ regexp: "^helm_version:.*"
+ line: "helm_version: {{ helm_version }}"
+
# TODO: reuse of bifrost dynamic inventory is only valid for the cases that use
# bifrost for provisioning so this needs fixing and we could perhaps switch to
# our own inventory, dynamic or static.