mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-23 21:53:21 +02:00
Update to 2023-11-17 17:00
This commit is contained in:
parent
f145b94b0b
commit
1e7cc64d56
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
VAULT_ADDR=https://{{ inventory_hostname }}:{{ vault_services.api.port | default('8200') }}
|
export VAULT_ADDR=https://{{ inventory_hostname }}:{{ vault_services.api.port | default('8200') }}
|
||||||
VAULT_STATUS=$(vault status -format=json)
|
VAULT_STATUS=$(vault status -format=json)
|
||||||
|
|
||||||
if [ "$(echo ${VAULT_STATUS} | jq .is_self)" != "true" ]; then
|
if [ "$(echo ${VAULT_STATUS} | jq .is_self)" != "true" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user