Retries on vault on seal (#14873)

Sometime we tried to unseal when vault is not ready yet
This commit is contained in:
Hao Liu 2024-02-13 13:05:23 -05:00 committed by GitHub
parent 46f816e7a4
commit 44d85b589c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,3 +16,7 @@
- "{{ Unseal_Key_1 }}"
- "{{ Unseal_Key_2 }}"
- "{{ Unseal_Key_3 }}"
register: unseal_result
until: unseal_result is succeeded or unseal_result is failed and 'Connection refused' not in unseal_result.msg
retries: 5
delay: 1