mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-12 00:03:17 +02:00
13 lines
347 B
Django/Jinja
13 lines
347 B
Django/Jinja
{% if vault_agent_consul.consul_pki.enabled %}
|
|
template {
|
|
source = "{{ vault_agent_root_dir }}/templates/consul/agent_bundle.pem.tpl"
|
|
destination = "{{ consul_root_dir }}/tls/agent_bundle.pem"
|
|
left_delimiter = "[["
|
|
right_delimiter = "]]"
|
|
perms = 0640
|
|
exec {
|
|
command = ["systemctl", "reload", "consul"]
|
|
}
|
|
}
|
|
{% endif %}
|