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:
Matthew Mosesohn
2017-08-18 15:09:45 +03:00
committed by GitHub
parent 8373129588
commit 2645e88b0c
7 changed files with 37 additions and 16 deletions

View File

@@ -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