From 1e7cc64d564fb096bf85d501d0a1be7625cf99cf Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 17 Nov 2023 17:00:29 +0100 Subject: [PATCH] Update to 2023-11-17 17:00 --- roles/vault_agent/templates/nomad/update_nomad_cert.sh.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/vault_agent/templates/nomad/update_nomad_cert.sh.j2 b/roles/vault_agent/templates/nomad/update_nomad_cert.sh.j2 index fd1d93c..a55abcc 100644 --- a/roles/vault_agent/templates/nomad/update_nomad_cert.sh.j2 +++ b/roles/vault_agent/templates/nomad/update_nomad_cert.sh.j2 @@ -2,7 +2,7 @@ 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) if [ "$(echo ${VAULT_STATUS} | jq .is_self)" != "true" ]; then