mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-07-07 06:18:10 -02:30
Fix vault setup partially (#1531)
This does not address per-node certs and scheduler/proxy/controller-manager component certs which are now required. This should be handled in a follow-up patch.
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
---
|
||||
|
||||
- name: check_etcd | Check if etcd is up an reachable
|
||||
- name: check_etcd | Check if etcd is up and reachable
|
||||
uri:
|
||||
url: "{{ vault_etcd_url }}/health"
|
||||
validate_certs: no
|
||||
until: vault_etcd_health_check.status == 200 or vault_etcd_health_check.status == 401
|
||||
retries: 10
|
||||
delay: 2
|
||||
delegate_to: "{{groups['etcd'][0]}}"
|
||||
run_once: true
|
||||
failed_when: false
|
||||
register: vault_etcd_health_check
|
||||
|
||||
|
||||
Reference in New Issue
Block a user