zuul-jobs/roles/ensure-helm/tasks/main.yaml
Sorin Sbarnea 9baebe3684 yamlint: EOF newlines and comments indent
Fixed two rules which where temporary disabled during introduction
of the linter.

Change-Id: Icd1e1b40b1e8207ab5ff7088a48e8f0a800e3aa8
2020-05-14 08:42:17 +00:00

21 lines
458 B
YAML

---
- name: Download Helm
unarchive:
remote_src: true
src: "https://get.helm.sh/helm-v{{ helm_version }}-linux-amd64.tar.gz"
dest: /tmp
- name: Install Helm
become: true
copy:
remote_src: true
src: /tmp/linux-amd64/helm
dest: /usr/local/bin/helm
mode: '0755'
- name: Initialize Helm
shell: helm init --client-only
tags:
# NOTE(mnaser): The `helm` module does not support running init only.
- skip_ansible_lint