Browse Source

Adding retries for vault-init to come online

pull/2047/head
Brad Beam 7 years ago
parent
commit
3694657eb6
1 changed files with 3 additions and 0 deletions
  1. 3
      roles/vault/tasks/bootstrap/start_vault_temp.yml

3
roles/vault/tasks/bootstrap/start_vault_temp.yml

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

Loading…
Cancel
Save