feat(rundeck): Add Rundeck env file template
This commit is contained in:
parent
11686e04f7
commit
8e8250e4ab
7
templates.d/rundeck/fqdn_context.env
Normal file
7
templates.d/rundeck/fqdn_context.env
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{% set VAULT_KEY = getenv("VAULT_KEY") %}
|
||||||
|
# This file is maintained by remco and populated with data from HashiCorp
|
||||||
|
# Vault. Changes not done in Vault will be reverted when file gets rendered.
|
||||||
|
|
||||||
|
{% for key in ls(VAULT_KEY|add:"/data") %}
|
||||||
|
{{key}}={{ getv(VAULT_KEY|add:"/data/"|add:key) }}
|
||||||
|
{% endfor %}
|
Loading…
x
Reference in New Issue
Block a user