mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2023-04-28 14:00
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user