Update to 2023-04-28 14:00

This commit is contained in:
Daniel Berteaud
2023-04-28 14:00:20 +02:00
parent ba6cbb9d86
commit 7ffa32d5ad
14 changed files with 80 additions and 58 deletions

View File

@@ -7,7 +7,7 @@ VAULT_TOKEN=$2
VAULT_ADDR={{ vault_conf.api_addr }}
if [ "$(vault status -format=json| jq .is_self)" != "true" ]; then
if [ "$(vault status -format=json | jq .is_self)" != "true" ]; then
echo "We're not the active vault, exiting"
elif [ "$(vault status -format=json | jq .sealed)" != "false" ]; then
echo "Vault is sealed, exiting"