Adding retries for vault-init to come online

pull/2047/head
Brad Beam 2017-12-09 17:39:43 -06:00
parent 79417e07ca
commit 3694657eb6
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,9 @@
body:
secret_shares: 1
secret_threshold: 1
until: "vault_temp_init|succeeded"
retries: 4
delay: "{{ retry_stagger | random + 3 }}"
register: vault_temp_init
# NOTE: vault_headers and vault_url are used by subsequent issue calls