mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-27 07:33:18 +02:00
13 lines
347 B
Plaintext
13 lines
347 B
Plaintext
![]() |
{% 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 %}
|