File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ Role variables
28
28
* ` vault_unseal_token ` : Token for Vault
29
29
* ` vault_unseal_username ` : Username to login to Vault
30
30
* ` vault_unseal_verify ` : If set, do not verify presented TLS certificate before communicating with Vault server.
31
+ * ` vault_unseal_timeout ` : Control the delay between unsealing the vault and checking its status. Defaults to ` 0 ` seconds
31
32
32
33
Example playbook
33
34
----------------
Original file line number Diff line number Diff line change 21
21
username : " {{ vault_unseal_username | default(omit) }}"
22
22
verify : " {{ vault_unseal_verify | default(omit) }}"
23
23
24
+ - name : Wait for vault to be unsealed
25
+ wait_for :
26
+ timeout : " {{ vault_unseal_timeout | default(0) }}"
27
+ delegate_to : localhost
28
+
24
29
- name : Check if vault is sealed
25
30
uri :
26
31
url : " {{ vault_api_addr }}/v1/sys/seal-status"
You can’t perform that action at this time.
0 commit comments