mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-02 23:05:41 +02:00
Update to 2023-07-08 16:00
This commit is contained in:
12
roles/vault_agent/templates/consul/consul.hcl.j2
Normal file
12
roles/vault_agent/templates/consul/consul.hcl.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
{% 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 %}
|
Reference in New Issue
Block a user