Add stable repo on all masters with helm 3.x.x (#5659)

This commit is contained in:
Erwan Miran 2020-02-19 23:05:46 +01:00 committed by GitHub
parent da86457cda
commit a5445d9c5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,6 +101,13 @@
- helm_version is version('v3.0.0', '<')
environment: "{{ proxy_env }}"
- name: Helm | Add/update stable repo on all masters
command: "{{ bin_dir }}/helm repo add stable {{ helm_stable_repo_url }}"
environment: "{{ proxy_env }}"
when:
- helm_version is version('v3.0.0', '>=')
- helm_stable_repo_url is defined
- name: Make sure bash_completion.d folder exists
file:
name: "/etc/bash_completion.d/"