From f33a1f7ea1e09395b71d6b1a0d1d6b60df05c57f Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 8 Oct 2024 18:00:24 +0200 Subject: [PATCH] Update to 2024-10-08 18:00 --- roles/nomad/templates/nomad.hcl.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/nomad/templates/nomad.hcl.j2 b/roles/nomad/templates/nomad.hcl.j2 index 239f5b9..d16921f 100644 --- a/roles/nomad/templates/nomad.hcl.j2 +++ b/roles/nomad/templates/nomad.hcl.j2 @@ -353,7 +353,7 @@ vault { ] ttl = "{{ nomad_conf.vault.default_identity.ttl | default('1h') }}" {% for key in ['env', 'file'] %} -{% if nomad_conf.consul.task_identity[key] is defined %} +{% if nomad_conf.vault.default_identity[key] is defined %} {{ key }} = {{ nomad_conf.vault.default_identity[key] | ternary('true', 'false') }} {% endif %} {% endfor %}