ansible-hashicorp-vault/templates/config.hcl.j2

22 lines
507 B
Plaintext
Raw Normal View History

2022-03-26 09:10:21 +00:00
2023-08-26 15:32:23 +00:00
storage "raft" {
path = "/opt/vault/raft/"
node_id = "{{ inventory_hostname }}"
2022-03-26 09:10:21 +00:00
}
listener "tcp" {
2023-08-26 15:32:23 +00:00
address = "{{ vault_listener_address}}:8200"
cluster_address = "{{ vault_listener_address}}:8201"
2022-03-26 09:10:21 +00:00
tls_disable = 1
}
2023-08-26 15:32:23 +00:00
api_addr = "http://{{ vault_listener_address}}:8200"
cluster_addr = "http://{{ ansible_default_ipv4.address }}:8201"
2022-03-26 09:10:21 +00:00
ui= true
2022-11-01 19:37:56 +00:00
disable_mlock = true
2023-08-27 13:42:33 +00:00
service_registration "consul" {
address = "127.0.0.1:8500"
service_address = "{{ ansible_default_ipv4.address }}"
}