ansible-hashicorp-vault/templates/config.hcl.j2
2023-08-26 17:32:23 +02:00

16 lines
380 B
Django/Jinja

storage "raft" {
path = "/opt/vault/raft/"
node_id = "{{ inventory_hostname }}"
}
listener "tcp" {
address = "{{ vault_listener_address}}:8200"
cluster_address = "{{ vault_listener_address}}:8201"
tls_disable = 1
}
api_addr = "http://{{ vault_listener_address}}:8200"
cluster_addr = "http://{{ ansible_default_ipv4.address }}:8201"
ui= true
disable_mlock = true