wait 5 * 4 secs until Tiller starts
This commit is contained in:
parent
760ca1c3a9
commit
f0a04b4d65
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
||||||
---
|
---
|
||||||
- name: Metrics | Make sure Helm is installed
|
- name: Metrics | Make sure Helm is installed
|
||||||
command: "{{ bin_dir }}/helm version"
|
command: "{{ bin_dir }}/helm version"
|
||||||
|
register: helm_ready_result
|
||||||
|
until: helm_ready_result|succeeded
|
||||||
|
retries: 4
|
||||||
|
delay: 5
|
||||||
when:
|
when:
|
||||||
- prometheus_operator_enabled
|
- prometheus_operator_enabled
|
||||||
- inventory_hostname == groups['kube-master'][0]
|
- inventory_hostname == groups['kube-master'][0]
|
||||||
|
|
Loading…
Reference in a new issue