infra/ansible/roles/consul_server/templates/consul-server.key.j2

2 lines
79 B
Django/Jinja

{{ lookup('hashi_vault', 'secret=kv/data/consul:data')['consul-server-key'] }}