diff --git a/playbooks/build-chart.yaml b/playbooks/build-chart.yaml index 9cd77d294..cd283ac6a 100644 --- a/playbooks/build-chart.yaml +++ b/playbooks/build-chart.yaml @@ -12,19 +12,11 @@ # limitations under the License. - hosts: all - tasks: - - name: install helm3 - become_user: root - shell: | - TMP_DIR=$(mktemp -d) - curl -sSL https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz | tar -zxv --strip-components=1 -C ${TMP_DIR} - sudo mv ${TMP_DIR}/helm /usr/bin/helm - rm -rf ${TMP_DIR} - environment: - HELM_VERSION: "v3.3.4" - args: - executable: /bin/bash + roles: + - name: ensure-helm + helm_version: "3.6.3" + tasks: - name: make all make: chdir: "{{ zuul.project.src_dir }}"